Hi,
According to documentation (
http://docs.marklogic.com/guide/rest-dev/documents#id_99311), MarkLogic
give us the way to replace or insert an object depending on target document.
The insert behaviour seems to work correctly, but in the replace case it
seems MarkLogic doesn't handle the content as object seeing that { "key" :
"value1" } becomes { "key": { "key": "value2" } }.
Maybe it's a bug, or something else.
Someone already try this feature ? I would like to avoid to do two requests
to update a document as replace-or-insert feature exists.
Regards
Kevin Leturc *Software developer*
Twitter @kevinleturc
nuxeo.com <https://www.nuxeo.com>
[image: www.nuxeo.com - Content Management Platform] <http://www.nuxeo.com>
_______________________________________________
General mailing list
[email protected]
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general