Logo
Explore Help
Register Sign In
Nemcio/NodeBB
1
0
Fork 0
You've already forked NodeBB
mirror of https://github.com/NodeBB/NodeBB.git synced 2025-11-02 12:05:57 +01:00
Code Issues Packages Projects Releases Wiki Activity
Files
33228bb7fed6c449efbebde26deffed43cb12a14
NodeBB/src/database/mongo/transaction.js

9 lines
150 B
JavaScript
Raw Normal View History

PostgreSQL database driver (#5861) * [test/database/list] Fix test list 4 being used in two different tests * [database/postgres] PostgreSQL database driver * [database/postgres] Make transactions work based on continuation scope. * [database/postgres] Implement nested transactions * eslint --fix * Add database changes from earlier this week to the PostgreSQL driver. * Fix typo * Fix postgres.incrObjectFieldBy returning undefined instead of null when given NaN * [database/postgres] Fix sortedSetsCard returning an array of strings. * Update socket.io postgres adapter * Fix PostgreSQL erroring when multiple updates are made to the same sorted set entry in a single operation. Add a test case to catch this error. * Fix lint errors. * Only prune sessions on one instance in a cluster to avoid deadlocks. They're caught and handled by the database server, but they spam the logs. * Fix arguments.slice.
2018-08-08 14:13:48 -05:00
'use strict';
module.exports = function (db, module) {
// TODO
module.transaction = function (perform, callback) {
perform(db, callback);
};
};
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.0 Page: 26ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API