dijkstra-backend-cloudron/node_modules/knex/lib/dialects/redshift/transaction.js

19 lines
501 B
JavaScript
Raw Normal View History

const Transaction = require('../../transaction');
module.exports = class Redshift_Transaction extends Transaction {
savepoint(conn) {
this.trxClient.logger('Redshift does not support savepoints.');
return Promise.resolve();
}
release(conn, value) {
this.trxClient.logger('Redshift does not support savepoints.');
return Promise.resolve();
}
rollbackTo(conn, error) {
this.trxClient.logger('Redshift does not support savepoints.');
return Promise.resolve();
}
};