// WARNING
// Must not use this file. This is defination use to generate document
/**
- An standard callback. It can use for both async and ansync action
- All of callback in module must use that type as standard. It will make
easy to write and handle async callback
@callback StdCallback
@param {object} error Error occur during perform async action
@param {object} result Result from action
@example
// this is instance of StdCallback
function queryCallback(err, items) {
// handle error
if (err) {
// do some thing to handle error here
return
}
// other action with items from database
console.log(items)
}
asynQuery(queryCallback)
*/
/**
- This is virtual module. It represent for mongodb module
- mongodb module locate at npm with name is
[mongodb]{@link https://www.npmjs.com/package/mongodb}
@exports mongodb
@example
const mongodb = require('mongodb')
*/
module.exports = null
/**
- Instance of connection to mongodb server
- For detail, see [MongoClient]{@link https://mongodb.github.io/node-mongodb-native/api-generated/mongoclient.html}
@memberof module:mongodb
@typedef MongoClient
*/