Page Contents

Home > @loopback/repository > Transaction

Transaction interface

Local transaction

Signature:

export interface Transaction 

Properties

Property Type Description
id string The transaction Identifier

Methods

Method Description
commit() Commit the transaction
isActive() Check if the transaction has an active connection
rollback() Rollback the transaction