Created
March 30, 2016 23:47
-
-
Save bcoe/65813165af1101d624b34b9766415972 to your computer and use it in GitHub Desktop.
pg-test-trick.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pg.defaults.poolSize = 1 | |
helper.beginTransaction = function (done) { | |
conn.query('BEGIN', done) | |
} | |
helper.endTransaction = function (done) { | |
conn.query('ROLLBACK', done) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment