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

Last Updated: 03 September, 2026