I know this is a very late response but it's mostly for someone who's
looking as I was.
ContainsAll implies that the collection on the left 'contains all' the
items on the right.
THAT IS NOT SO.
On the right of CONTAINSALL should be a condition. All elements in the set
on the left must satisfy the condition on the right.
On Wednesday, March 11, 2015 at 12:45:59 AM UTC-7, neRok wrote:
>
> I am attempting to do a query to find all of a particular vertex that have
> the same incoming edges to other vertexes . Using the following works (and
> probably explains it better)...
> SELECT FROM Person WHERE in('Child') contains #12:1 and in('Child')
> contains #12:6
> But none of the following do (they return 0 records)...
> SELECT FROM Person WHERE in('Child') CONTAINSALL #12:1,#12:6
> SELECT FROM Person WHERE in('Child') CONTAINSALL (#12:1,#12:6)
> SELECT FROM Person WHERE in('Child') CONTAINSALL [#12:1,#12:6]
> I even tried the above with quotations around the rids. I also tried the
> following...
> SELECT FROM Person WHERE in('Child') CONTAINSALL #12:1
> This returned every Person, the same as if I had of done
> SELECT FROM Person
> Am I doing something wrong, or is this not working?
>
--
---
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.