Initializes a new instance of that class.
The underlying database connection.
The underlying database connection.
Counts all documents of a collection.
The function that returns the model to use.
The promise that contains the number of documents.
The logic for the 'load()' method.
The custom options.
A predefined object, that has to be filled with the result data.
Generated using TypeDoc
A basic statistic provider that loads data from Mongo database.