I am having really hard time figuring out embedded lists and sets.
What I am trying is to keep track of historic price (an abstract class) of
an item by embedding it into embedded set which works when insert it as a
new value, or when I update it with "set", but it fails if I try to update
"add" another price.
The error I get is:
"The field 'priceHistory has been declared as EMBEDDEDLIST but an
incompatible type is used.
The price class I'm trying to add looks like bellow:
{
"@type": "d",
"@class": "Price",
"@version":0,
"amount": "50",
"curency": "EUR"
}
is this something that can be done?
Thank you!!
--
---
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.