Hi guys,

Suppose I have three different classes of vertices: A, B and C; and I have 
two edges connecting them: hasB connects A to B and hasC connects B to C.
To summarize: 
A -> hasB -> B -> hasC -> C

I'm able to ensure that each vertex of class A has at most one edge to B 
using the following index:
create index hasB.out unique
Same thing for B and C:
create index hasC.out unique

My problem is that those indexes does not ensure that one A is associated 
with at most one C.
Well, this question may have been asked before, but I was unable to find 
any answer or solution.
I have crawled through the documentation and also did not find anything.

Btw, I have been using OrientDB for a couple of weeks in a project for 
large-scale data analysis and it just awesome!

-- 

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