Hi All,

I'm trying to get distinct set in a query results but can't make it work.
I would appreciate your assistance.

My query:

select uid, name, $conv,  $unique
from (select expand(outE("HasCard").inV()) from #12:1310)
let 
$conv = inV().inE().outV("Conversation"),  // I'm getting list of @rid -> 
[#13:23, #13:23, #13:55]
$unique = distinct($conv)  // trying to get [#13:23, #13:55]

I also tried to change the last line to:
$unique = (select @rid from Conversation where @rid in $conv)
but it didn't work too.

Thank you very much for helping!

-- 

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