Hi,

I was looking at the documenation for a way to push an object into an 
EMBEDDEDLIST.

I tried in this way (using orient studio):

create class PushTest

create property PushTest.values embeddedlist

INSERT INTO PushTest CONTENT {"values" : [{"property": "aValue"}]}

at this point the value of the *values* property is:

*[{"property":"aValue"}]*

Then, I tried to add another value to the list using:

UPDATE PushTest ADD values = {"property": "anotherValue"}

The *values* property was updated, but its value is:

[{"property":"aValue"},"anotherValue"]

What I should do to insert the entire object in the list?

-- 

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