arangosh> db._query(`
........> FOR i IN 1..@count INSERT
........> { _key: CONCAT('anothertest', TO_STRING(i)) }
........> INTO mycollection`,
........> {count: 100},
........> {},
........> {fullCount: true}
........> ).getExtra();
{
"stats" : {
"writesExecuted" : 100,
"writesIgnored" : 0,
"scannedFull" : 0,
"scannedIndex" : 0,
"filtered" : 0,
"httpRequests" : 0,
"fullCount" : 0,
"executionTime" : 0.0006167888641357422,
"peakMemoryUsage" : 9720
},
"warnings" : [ ]
}
arangosh> db._query({
........> "query": `FOR i IN 200..@count INSERT
........> { _key: CONCAT('anothertest', TO_STRING(i)) }
........> INTO mycollection`,
........> "bindVars": {count: 300},
........> "options": { fullCount: true}
........> }).getExtra();
{
"stats" : {
"writesExecuted" : 101,
"writesIgnored" : 0,
"scannedFull" : 0,
"scannedIndex" : 0,
"filtered" : 0,
"httpRequests" : 0,
"fullCount" : 0,
"executionTime" : 0.0006084442138671875,
"peakMemoryUsage" : 9899
},
"warnings" : [ ]
}