Hi,

I am using OrientDB v2.1.8, I am not sure how to write a question to make 
at least 2 elements in a EmbededSet field

My sample data is

<http://i.imgur.com/H8tYeDo.png>


I have some queries


SELECT @rid, EmailAddress, xMultiValue FROM Contact WHERE xMultiValue 
CONTAINS 'b' => PASSED (2 results)
SELECT @rid, EmailAddress, xMultiValue FROM Contact WHERE xMultiValue 
CONTAINS ['b'] => FAILED (no result)
SELECT @rid, EmailAddress, xMultiValue FROM Contact WHERE xMultiValue 
CONTAINSALL 'b' => FAILED (no result)
SELECT @rid, EmailAddress, xMultiValue FROM Contact WHERE xMultiValue 
CONTAINSALL ['b'] => FAILED (no result)
SELECT @rid, EmailAddress, xMultiValue FROM Contact WHERE xMultiValue 
CONTAINS ['b','c'] => FAILED (no result)
SELECT @rid, EmailAddress, xMultiValue FROM Contact WHERE xMultiValue 
CONTAINSALL ['b', 'c'] => FAILED (no result)
SELECT @rid, EmailAddress, xMultiValue FROM Contact WHERE xMultiValue 
CONTAINSALL ['b', 'c', 'a'] => FAILED (no result)

Are they bugs?


My Best,
Hung Tran

-- 

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