Hi Zlatko,

Since your linked document has its own record id, could you not merge your 
JSON into it directly?

-Colin

On Thursday, April 9, 2015 at 2:02:17 AM UTC-5, Zlatko Fedor wrote:
>
> I really appreciate any help with this problem
>
> Dňa streda, 8. apríla 2015 21:03:21 UTC+12 Zlatko Fedor napísal(-a):
>>
>> Hi 
>>
>> is it possible to merge linked document from main document without 
>> replacing a linked document?
>>
>> I tried UPDATE #16:5 MERGE { title: "my title", linkedDocument: { points: 
>> 555 }} but it always created a new linked document.
>>
>> FYI: #16:5 is main document and linkedDocument is linked :))
>>
>> I know that I am able to update linked document with: UPDATE #16:5 SET 
>> linkedDocument.points = 555 but I need to do that with json. It is much 
>> easier for me in this moment
>>
>> Thanks
>> Zlatko
>>
>

-- 

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