insert Method
insert(txn) @beta
Insert this Model in the iModel using the supplied EditTxn.
insert(txn: EditTxn): string
| Parameter | Type | Description |
|---|---|---|
| txn | EditTxn |
Returns - string
insert()
Deprecated in 5.9.0 - might be removed in next major version. Use Model.insert(txn) instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
Insert this Model in the iModel.
insert(): string
Returns - string
Defined in
- backend/src/Model.ts Line 329
Last Updated: 03 September, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.