Remove limit from count

This commit is contained in:
Drew Gross
2016-05-23 20:09:59 -07:00
parent c9be5a3aac
commit aa072dabff

View File

@@ -206,9 +206,9 @@ export class MongoStorageAdapter {
} }
// Executs a count. // Executs a count.
count(className, query, { limit, skip, sort }) { count(className, query, { skip, sort }) {
return this.adaptiveCollection(className) return this.adaptiveCollection(className)
.then(collection => collection.count(query, { limit, skip, sort })); .then(collection => collection.count(query, { skip, sort }));
} }
get transform() { get transform() {