denodrivers/postgres

Transaction queryObject, queryArray commit automatically on query failure

anandcodz opened this issue · 1 comments

On a query failure, queryObject and queryArray commit automatically. I would prefer to also have an option to not do this in cases a failed operation would mean rollback the transaction (line 540 of query/transaction.ts)

Figured out WHY- it automatically rolls back on failure. Closing issue.