Insert a document with a single property with an embedded list containing
one document:
insert into Test set prop1 = [{"f1":"v1"}]
Inserted record 'Test#14:4{prop1:[1]} v10' in 0.003000 sec(s).
Verify:
select expand(prop1) from #14:4
----+------+-------
# |@RID |value
----+------+-------
0 |#-1:-1|{f1=v1}
----+------+-------
Now I want to add another document to the embedded set:
update #14:4 add prop1 = {"f2":"v2"}
Updated record(s) '1' in 0.004000 sec(s).
However:
select expand(prop1) from #14:4
----+------+-------
# |@RID |value
----+------+-------
0 |#-1:-1|{f1=v1}
1 |#-1:-1|v2
----+------+-------
I would have expected {f2=v2} for the second value of prop1.
What am I doing wrong? Or is this a bug?
Thanks.
--
---
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.