mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 11:13:43 +03:00
22 lines
605 B
TypeScript
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();
|
|
}
|
|
};
|