Hi Athanassios,
I hope these two examples can help you.
EmbeddedSet: it will create a field "animals" that contain "dog, cat,
parrot"
"insert into Person(name,animals)
values('alessandro',['dog','cat','parrot','dog'])"
<https://lh3.googleusercontent.com/-quTxisvc2io/VcxKrWsAeMI/AAAAAAAAAEw/Kzb_jI8cwpQ/s1600/EmbeddedSet.png>
LinkSet: it creates three link between the person and animals
"insert into Person(name,animals)
values('alessandro',[#13:0,#13:1,#13:2,#13:0])"
<https://lh3.googleusercontent.com/-4rtxtuOTTSc/VcxK1USb2dI/AAAAAAAAAE4/hQZ9PLk_61A/s1600/LinkSet.png>
<https://lh3.googleusercontent.com/-zGVEuBrTpbc/VcxLFSk0u1I/AAAAAAAAAFI/w5ljI3_FnGI/s1600/LinkSetGraph.png>
Regards,
Alessandro
--
---
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.