This mixin provides
count()
method.- Source:
Example
var collection = new KagoDB();
// count item
collection.count({ category: 'fruit' }, function(err, count) {
console.log(count);
});
count()
method.var collection = new KagoDB();
// count item
collection.count({ category: 'fruit' }, function(err, count) {
console.log(count);
});