1
0
Fork 0
arangodb/Documentation/Examples/api-explain-empty

22 lines
411 B
Plaintext

> curl --data @- -X POST --dump - http://localhost:8529/_api/explain
{ "query" : "FOR i IN [ 1, 2, 3 ] FILTER 1 == 2 RETURN i" }
HTTP/1.1 200 OK
content-type: application/json
{
"plan": [
{
"id" : 1,
"loopLevel" : 0,
"type" : "return (empty)",
"expression" : {
"type" : "const list",
"value" : "[ ]"
}
}
],
"error": false,
"code": 200
}