Closed sekarpdkt closed 6 years ago
Ignore. got it.
var GlideAggregate = require('servicenow-rest').glideaggregate; var gar = new GlideAggregate('instance','table','user','pass','v1') gar.addCount(true); gar.query().then(function(result1){ //returns promise console.log(result1.stats.count)
} )
How to total row count of query?