Files
NodeBB/src/database/redis/transaction.js
Barış Soner Uşaklı af1f7249a7 feat: test psql without defineProperty (#7815)
* feat: test psql without defineProperty

* feat: refactor psql

remove .bind calls, use module.pool.query directly
move requires to top of file
move promisify to bottom so .init etc are promisified

* feat: mongodb

move requires to bottom

* feat: redis
2019-08-05 09:20:00 -04:00

9 lines
157 B
JavaScript

'use strict';
module.exports = function (module) {
// TODO
module.transaction = function (perform, callback) {
perform(module.client, callback);
};
};