some random formatting

This commit is contained in:
Erik 2020-05-25 00:38:33 +03:00
parent e97eceddbe
commit 782238fe12

View File

@ -158,7 +158,6 @@ class MongoDBProvider extends Provider {
* @param {Object} projection Defines which fields to return, { 'key': 1, 'key2': 0 } -- key will return, key2 won't, optional * @param {Object} projection Defines which fields to return, { 'key': 1, 'key2': 0 } -- key will return, key2 won't, optional
* @memberof Database * @memberof Database
*/ */
find({ collection, query, projection }) { find({ collection, query, projection }) {
//if(this.manager.debug) this.manager.logger.debug(`Incoming find query for ${db} with parameters ${JSON.stringify(query)}`); //if(this.manager.debug) this.manager.logger.debug(`Incoming find query for ${db} with parameters ${JSON.stringify(query)}`);
@ -186,7 +185,6 @@ class MongoDBProvider extends Provider {
* @returns {Object} An object containing the queried data * @returns {Object} An object containing the queried data
* @memberof Database * @memberof Database
*/ */
findOne({ collection, query, projection }) { findOne({ collection, query, projection }) {
//if(this.manager.debug) this.manager.logger.debug(`Incoming findOne query for ${db} with parameters ${JSON.stringify(query)}`); //if(this.manager.debug) this.manager.logger.debug(`Incoming findOne query for ${db} with parameters ${JSON.stringify(query)}`);