Skip to content

Instance Method

rollbackTransaction()

Rollback the current transaction’s queries. You may want to trigger this when handling an error when trying to create models. This is equivalent to an SQL ROLLBACK
func rollbackTransaction() -> EventLoopFuture<Void>

Return Value

Future Void when the transaction has been rollbacked