Page Contents
Home > @loopback/sequelize > SequelizeCrudRepository > beginTransaction
SequelizeCrudRepository.beginTransaction() method
Signature:
beginTransaction(options?: TransactionOptions | TransactionOptions['isolationLevel']): Promise<Transaction>;
Parameters
Parameter | Type | Description |
---|---|---|
options | TransactionOptions | TransactionOptions[‘isolationLevel’] | (Optional) |
Returns:
Promise<Transaction>