Whether or not the transaction has been committed
The trasaction ID
Whether or not the transaction has been rolledback
Perform a CRUD operation in the transaction.
the query language to use
the command to execute
Optional
parameters: Record<string, string | number | boolean>the result of the CRUD operation
A transaction in Sprite, contains the transaction id, and methods to commit or rollback the transaction.
Param: session
the
DatabaseSession
the transaction is taking place ofParam: transactionId
the id of the transaction