1
0
Fork 0
arangodb/js/common
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
..
bootstrap Fixed false http error codes in timeout case. Also reactivated retry in error case. (#4760) 2018-03-06 13:22:15 +01:00
modules 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
test-data More Foxx API tests (#4517) 2018-02-09 15:57:25 +01:00
tests remove useless flush from test, bump wal flush default timeouts (#4846) 2018-03-14 22:00:03 +01:00