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.1.9 - will not be removed until after 2026-08-04. 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: 05 May, 2026