1
0
Fork 0
arangodb/Documentation/Examples/api-simple-update-by-example

12 lines
328 B
Plaintext

> curl --data @- -X PUT --dump - http://localhost:8529/_api/simple/update-by-example
{ "collection" : "test", "example" : { "age" : 37, "likes" : "tennis" }, "newValue" : { "age" : null, "likes" : "foo" }, "keepNull" : false }
HTTP/1.1 200 Ok
content-type: application/json
{
"code": 200,
"updated": 1,
"error": false
}