mirror of
https://github.com/swc-project/swc.git
synced 2024-12-30 17:15:11 +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();
|
||
|
}
|
||
|
};
|