hi

I would like to know if there is a way in OrientDB to impose constraints on 
Vertices and/or Edges such that:
One can only create a certain type of edge between certain type of vertices.

For example, consider a graph having vertices Person and Pet and edge 
Friend.
It must be possible to create 'Friend' edges only between Persons and not 
between Pets.
Also, it must be possible to create an edge between a Person and a Pet, 
only if that Pet is a Dog (some property on Person class=Dog)

how would you suggest such constraints be modeled in OrientDB (or whether 
at all it is appropriate to do this in DB)


thanks
~nagu.

-- 

--- 
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.

Reply via email to