forked from Galactic/galactic-bot
template comment
This commit is contained in:
parent
be15e50d6a
commit
34d80332ff
@ -25,6 +25,18 @@ class TransactionHandler {
|
||||
|
||||
_send(message, options = {}) {
|
||||
|
||||
/** Message structure
|
||||
* {
|
||||
* provider: string, -- mongodb or mariadb
|
||||
* request: {
|
||||
* type: string, -- The function to use from this class, ex. findOne
|
||||
* collection: string, -- Which collection to query from
|
||||
* query: { }, -- Actual search query
|
||||
* data: { } -- If the operation is to update or insert something, this is what to insert
|
||||
* }
|
||||
* }
|
||||
*/
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
|
||||
const id = this.transactionID;
|
||||
|
Loading…
Reference in New Issue
Block a user