Thanks for the quick response. I'm not familiar with that option. What's
the syntax of the create property statement to do this?

On Thu, Oct 26, 2017 at 8:25 AM, Luigi Dell'Aquila <
[email protected]> wrote:

> Hi Eric,
>
> Try to define the property as EMBEDDEDMAP with LINKEDTYPE = EMBEDDEDMAP,
> it should solve the problem
>
> Thanks
>
> Luigi
>
> 2017-10-26 4:37 GMT+02:00 Eric24 <[email protected]>:
>
>> Using ODB 2.2.28, I have a simple Class that contains an EMBEDDEDLIST
>> called "data". If I update "data" like this:
>> UPDATE #12:4 SET data = [{"a":111}, {"b":222}, [{"c":555}, {"d":777}]]
>>
>> The result of then selecting "data" from the record is this:
>> [{"@type":"d","@version":0,"a":111},{"@type":"d","@version":0,"b":222},[{
>> "c":555},{"d":777}]]
>>
>> As you can see, "data" contains three elements, as expected, but why do
>> the two elements that are standalone objects get @type and @version
>> properties, while the element that is an array of objects element does not?
>> And more specifically, I would prefer to avoid the standalone objects from
>> being treated in this way.
>>
>> --
>>
>> ---
>> 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.
>>
>
> --
>
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "OrientDB" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/orient-database/Eo3cdN-DlMM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
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