1
0
Fork 0
arangodb/js/common/modules/@arangodb/aql
Jan ae0b99de63
added ArangoShell helper function for packaging all information about an AQL query so it can be run and analyzed elsewhere: (#5010)
query = "FOR doc IN @@collection FILTER doc.value > @value RETURN doc";
    bind = { value: 42, "@collection": "mycollection" };
    options = { examples: 10, anonymize: true };
    require("@arangodb/aql/explainer").debugDump("/tmp/query-debug-info", query, bind, options);

Entitled users can send the generated file to the ArangoDB support to facilitate
reproduction and debugging.

The data from the generated file can be restored and analyzed via the *inspectDump*
function:

    require("@arangodb/aql/explainer").inspectDump("/tmp/query-debug-info");
2018-04-05 14:06:51 +02:00
..
explainer.js added ArangoShell helper function for packaging all information about an AQL query so it can be run and analyzed elsewhere: (#5010) 2018-04-05 14:06:51 +02:00
functions.js use exclusive locks for some transactions 2017-05-15 22:47:50 +02:00