Hi, thank you for your replies, apparently this was a bug in the previous
OrientDB community version 2.09 that I was using.
Now, I have downloaded the latest community version 2.010 and tested again
the same SQL command. It works, I presume the bug is fixed.
On Friday, 12 June 2015 00:03:54 UTC+3, Ziink A wrote:
>
> Try
>
> update PERSON *ADD* favColours=['red'] where perName='Luca'
>
> or
>
> update PERSON *ADD* favColours='red' where perName='Luca'
>
>
> On Thursday, June 11, 2015 at 7:53:50 AM UTC-7, Athanassios Hatzis wrote:
>>
>> Hi, I am a newcomer please help with the following
>>
>> I have created a class PERSON and a collection property favColours
>>
>> CREATE PROPERTY PERSON.favColours EMBEDDEDLIST STRING
>>
>> Then I created a record
>>
>> INSERT INTO PERSON content {perName:'Luca',perAge:34}
>>
>> Then I have updated successfully that record with the following list of
>> colours
>>
>> update PERSON set favColours=['blue','green'] where perName='Luca'
>>
>> How do I ADD another color in the list without repeating the previous ?
>>
>> Thank you
>>
>> Athanassios I. Hatzis
>>
>>
>>
--
---
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.