1
0
Fork 0
arangodb/js/common/modules
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
..
@arangodb 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
jsunity add setUpAll, tearDownAll 2016-09-23 12:08:39 +02:00
jslint.js We are now using semistandard and eslint 2016-06-29 18:27:02 +02:00
jsunity.js add setUpAll, tearDownAll 2016-09-23 12:08:39 +02:00
loadtestrunner.js More Americanization 2015-09-03 22:25:43 +02:00
reportgenerator.js Strict mode all the things. 2015-04-09 00:22:05 +02:00