Say I have a vertex class 'Notes', and if a note doesnt have an edge to any other vertex, it should be deleted (ie I want to ensure they always have an edge to something). Is there a way to do this, or should I handle it in my code?
I am using pyorient, so I presume the best way would be to check how many edges the record has when I am deleting it. If it has 1, I should delete the vertex (and thus the edge), and if more than 1 just delete the edge. -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
