diff --git a/structure/storage/interfaces/MongodbTable.js b/structure/storage/interfaces/MongodbTable.js index 94aee32..a0da0f2 100644 --- a/structure/storage/interfaces/MongodbTable.js +++ b/structure/storage/interfaces/MongodbTable.js @@ -124,7 +124,7 @@ class MongodbTable { } //Statistics - statistics(options = {}) { + stats(options = {}) { return new Promise((resolve, reject) => { if(!this.provider._initialized) return reject(new Error('MongoDB is not connected.')); this.collection.stats(options, (error, statistics) => {