1
0
Fork 0
arangodb/Documentation/Examples/RestCursorDeleteIgnore.gene...

25 lines
530 B
Plaintext

shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/cursor <<EOF
{"query":"REMOVE 'bar' IN products OPTIONS { ignoreErrors: true }"}
EOF
HTTP/1.1 201 Created
content-type: application/json; charset=utf-8
{
"result" : [ ],
"hasMore" : false,
"cached" : false,
"extra" : {
"stats" : {
"writesExecuted" : 0,
"writesIgnored" : 1,
"scannedFull" : 0,
"scannedIndex" : 0,
"filtered" : 0
},
"warnings" : [ ]
},
"error" : false,
"code" : 201
}