How to add or remove link from linkset with Java API?
I can do it with SQL, but transactions don't work with SQL so I suppose I
must do it with Java API. But how?
Suppose, that there is a ODocument 'user', with field 'carsField' with is
linkset with links to class 'Cars', and I'd like to add record #10:1 to the
linkset and remove record #10:2
Is it in OrientDB something similar to:
user.field("carsField", user.field("carsField").add("#10:1").remove("#10:2")
);
db.save(user);
???
Best regards
Tomek
--
---
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.