Hi Zlatko,
Why did you passed everything as string? Use this:
UPDATE #9:0 SET title = {"name":"adam"}, paragraphs= [{ "@class":
"BlogAParagraphs", "options": {"name":"adam"}}] RETURN after @this
Lvc@
On Sunday, April 12, 2015 at 3:09:22 PM UTC+2, Zlatko Fedor wrote:
>
> I used query (orientdb version 2.0.6):
> UPDATE #17:0 SET title = "{\"name\":\"adam\"}", paragraphs= [{ "@type":
> "document", "@class": "BlogAParagraphs", "options": "{\"name\":\"adam\"}"}]
> RETURN after @this
>
>
> Orientdb returns with binnary protocol:
>
> Blog@user:#17:0,title:"{\"name\":\"adam\"}",paragraphs:[
> (BlogAParagraphs@@type:"document",options:"{\\\"name\\
> \":\\\"adam\\\"}")],@type:"document"
>
> for Original object:
>
> {
> title: "{\"name\":\"adam\"}",
> paragraphs: [{
> options: "{\"name\":\"adam\"}"
> }]
> }
>
> FYI: title and options is same and paragraphs is embedded list of objects.
>
> *Why is there an one more escape ?*
>
> There is another question about same issue
> <https://groups.google.com/forum/#!searchin/orient-database/escape%7Csort:date/orient-database/crAmANhfkGU/d_doo_oVdfcJ>.
>
> I have a really bad feeling about orientdb right now. Because I spent one
> month with it and there is a lot of "small" but serious bugs.
> In my opinion *it is really not ready for production use*.
>
--
---
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.