Is it possible to do, or OrientDb can't push objects in its lists?

On Friday, August 28, 2015 at 5:17:39 PM UTC+2, manuel rascioni wrote:
>
> 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