insert Method
insert(txn) @beta
Insert this Relationship into the iModel using the supplied EditTxn.
insert(txn: EditTxn): string
| Parameter | Type | Description |
|---|---|---|
| txn | EditTxn |
Returns - string
insert()
Deprecated Use Relationship.insert(txn) instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
Insert this Relationship into the iModel.
insert(): string
Returns - string
Defined in
- backend/src/Relationship.ts Line 112
Last Updated: 20 April, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.