Hi,
Create it on base class, so E in this case.

Lvc@

On 9 September 2014 15:28, Max Matchenko <[email protected]> wrote:

> Hi,
>
> For the one vertex, that has two edges, we need to create composite unique
> constraint using these edges.
>
> for example we have the following:
>
> *create class V1 extends V*
> *create class V2 extends V*
> *create class V3 extends V*
>
> *...creating vertexes...*
>
>
> *create class E1 extends E*
> *create class E2 extends E*
>
>
> *create edge E1 from (select from V3) to (select from V1)*
> *create edge E2 from (select from V3) to (select from V2)*
>
> In documentation I found only how to create a unique index for a *single*
>  edge.
> How can I create a single Composite Unique Constraint (Index) on multiple
> edges (E1&E2)?
>
> Thank you!
>
> --
>
> ---
> 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.
>

-- 

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