swc/crates/swc_bundler/tests/.cache/untrusted/48e601b6094eda224b4d67b019f312d0aeee7e18.ts
2021-11-09 20:42:49 +09:00

22 lines
605 B
TypeScript

// Loaded from https://raw.githubusercontent.com/denjucks/dex/master/lib/dialects/redshift/transaction.js
import Transaction from '../../transaction.js';
export default 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();
}
};