end Method
end()
End this EditTxn, either by saving or abandoning the changes.
end(): void
@throws EditTxnError if this EditTxn is not active.
@throws IModelError if saving changes fails.
Returns - void
end(mode, args?)
End this EditTxn, either by saving or abandoning the changes.
end(mode: "save" | "abandon", args?: string | SaveChangesArgs): void
@throws EditTxnError if this EditTxn is not active.
@throws IModelError if saving changes fails.
| Parameter | Type | Description |
|---|---|---|
| mode | "save" | "abandon" | Whether to "save" or "abandon" the changes. Defaults to "save". |
| args | string | SaveChangesArgs | Save changes arguments when saving. |
Returns - void
Defined in
- backend/src/EditTxn.ts Line 146
Last Updated: 28 April, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.