Add test for aggregate.count()

This commit is contained in:
Youri Tolstoy
2018-06-13 23:18:58 +02:00
committed by GitHub
parent 4fa4ba6bd1
commit 8f5a8c1c69

View File

@@ -1200,6 +1200,7 @@ aggregate.allowDiskUse(true).allowDiskUse(false, []);
aggregate.append({ $project: { field: 1 }}, { $limit: 2 });
aggregate.append([{ $match: { daw: 'Logic Audio X' }} ]);
aggregate.collation({ locale: 'en_US', strength: 1 });
aggregate.count('countName');
aggregate.cursor({ batchSize: 1000 }).exec().each(cb);
aggregate.exec().then(cb).catch(cb);
aggregate.option({foo: 'bar'}).exec();