I'm not sure you can do it, just because there is no deterministic way to
do it.
It is not even guaranteed that the second and third collection have the
same number of items, so in general it is not a consistent operation.
Perhaps you can consider to review your domain?

Thanks

Luigi

Il giorno sab 17 nov 2018 alle ore 16:25 axon musthaq <axonmust...@gmail.com>
ha scritto:

>
> my query returns rows of the form:
>
> node | {node1, node2, node3} | {float1, float2, float3}
>
> i would like to unwind the two collections which always have the same
> number of elements, so that i will get rows of the form:
>
> node | node1 | float1
> node | node2 | float2
> node | node3 | float3
>
> i tried to unwind both collections but that will return all permutations
> of the elements, so in this case 9 rows.
>
> is there a simple way to achieve this using orientdb?
>
> --
>
> ---
> 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 orient-database+unsubscr...@googlegroups.com.
> 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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to