UPDATE #17:0 SET title = "{\"name\":\"adam\"}", paragraphs= [{ "@type": "document", "@class": "BlogAParagraphs", "options": "{\"name\":\"adam\"}"}] RETURN after @this
Blog@user:#17:0,title:"{\"name\":\"adam\"}",paragraphs:[(BlogAParagraphs@@type:"document",options:"{\\\"name\\\":\\\"adam\\\"}")],@type:"document"
{ title: "{\"name\":\"adam\"}", paragraphs: [{ options: "{\"name\":\"adam\"}" }] }
There is another question about same issue. 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.
It was example because fields options and title have a type String. I need to save character " but orientdb will always add \\ for embedded documents. In another words if someone will save character " in next refresh of the page he will see \" instead ". Can you confirm? Is it bug or feature of the orientdb
--
---
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/2zHHMZFxAeg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to orient-databa...@googlegroups.com.
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 orient-databa...@googlegroups.com.
Which version are you using? I tried 2.0.7-SNAPSHOT and my query worked.
Luca,yes I tried. It is not working.And it can not working because as I said fields title and options have a type STRING and I have a schema for that.And more fun is that this query: UPDATE #17:0 SET title = {"name":"adam"} will save "{name=adam}". OMG