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.0022063255310058594,
"peakMemoryUsage" : 98744
},
"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.0019061565399169922,
"peakMemoryUsage" : 98744
},
"warnings" : [ ]
}