Luca-

I'm confused. Are you saying that "update #5:12 remove 0" is the current 
syntax, or the suggested syntax?

update #5:12 remove 0 will not work, because you have to target the correct 
collection. For example, a single object could have an embeddedset called 
"people" and one called "things". The only way to remove from these 
collections is to reference them first, and the the position of the object 
to be removed.

i.e. update #5:12 remove people[0]...

i just want to get on the same page before i create the issue.

On Tuesday, March 25, 2014 4:36:30 AM UTC-4, Lvc@ wrote:
>
> Hi,
> You're right, we missed this simple syntax to remove item from Lists:
>
> update #5:12 remove 0 <- there 0 is the position.
>
> Please could you open a new issue for that?
>
> Lvc@
>
>  
>
>
> On 24 March 2014 22:33, Jonathan Rosen <rose...@gmail.com <javascript:>>wrote:
>
>> let's say i have an embedded set field "people" in record #5:12:
>>
>> ["bob", "jon"]
>>
>> this doesnt seem to work:
>> update #5:12 remove people[0]
>>
>> this does work however: update #5:12 remove "bob"
>>
>> is there any way to remove items by reference, as in case #1?
>>  
>> -- 
>>
>> --- 
>> 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-databa...@googlegroups.com <javascript:>.
>> 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