Hi, I have a property called login_info which is composed by an array of 
embedded list like this:

<pre>
[{pushToken:reg_id,os:vendor}, {pushToken:registration_id,os:vendor}]
</pre>

If I want to remove ALL the entries of the Class where pushToken is equal 
to 'reg_id', how do I do?

I tried 
<pre>
update _BB_UserAttributes REMOVE login_info where login_info[pushToken] 
CONTAINSTEXT 'reg_id'
</pre>

But it removed ALL the entries into login_info, NOT only the specific entry 
which satisfied the condition.

I also tried

<pre>
update _BB_UserAttributes remove login_info.pushToken where login_info 
contains (pushToken=‘reg_id')
</pre>

I got a message that the records are updated but none are really updated.

-- 

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