abandonChanges Method

Abandon (cancel) the outermost transaction, discarding all changes since last save. Then, restart the transaction.

abandonChanges(): void

throws IModelError if the database is not open or if the operation failed.

Returns - void

Defined in

Last Updated: 20 June, 2023