From 0995017f5d94bf41096a2437fba742f10b133ed4 Mon Sep 17 00:00:00 2001 From: Navy Date: Fri, 14 Aug 2020 22:46:24 +0300 Subject: [PATCH] statistics -> stats --- structure/storage/interfaces/MongodbTable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) => {