mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-24 00:09:41 +01:00
* 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
9 lines
157 B
JavaScript
9 lines
157 B
JavaScript
'use strict';
|
|
|
|
module.exports = function (module) {
|
|
// TODO
|
|
module.transaction = function (perform, callback) {
|
|
perform(module.client, callback);
|
|
};
|
|
};
|