forked from Galactic/galactic-bot
statistics -> stats
This commit is contained in:
parent
7fd308e2f2
commit
0995017f5d
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user