Hi, i answered you in stack overflow. Il giorno giovedì 14 luglio 2016 17:27:45 UTC+2, yashpal singla ha scritto: > > > I'd like to know if it is possible to create a Vertex that requires an > edge in order to be created. > > For example, I want to create an Invoice class that has a HasCustomer edge > which points to Person. > > I want the HasCustomer edge to be mandatory in order to create the > Invoice. > > You cannot create the Invoice unless you have the HasCustomer edge. > > I know we can have a link to Person, but there is no referential > integrity. I can delete the Person and the Invoice will simply end up with > a link to a customer that is non-existent. >
-- --- 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.
