insert MethodStatic
insert(iModelDb, parentSubjectId, name)
insert(iModelDb: IModelDb, parentSubjectId: string, name: string): string
| Parameter | Type | Description |
|---|---|---|
| iModelDb | IModelDb | |
| parentSubjectId | string | |
| name | string |
Returns - string
insert(txn, parentSubjectId, name) @beta
Insert a DocumentPartition and a DocumentListModel that sub-models it.
insert(txn: EditTxn, parentSubjectId: string, name: string): string
@returns The Id of the newly inserted DocumentPartition and DocumentListModel (same value) *
@throws IModelError if there is an insert problem. *
| Parameter | Type | Description |
|---|---|---|
| txn | EditTxn | The active EditTxn. * |
| parentSubjectId | string | The DocumentPartition will be inserted as a child of this Subject element. * |
| name | string | The name of the DocumentPartition that the new DocumentListModel will sub-model. * |
Returns - string
The Id of the newly inserted DocumentPartition and DocumentListModel (same value) *
Defined in
- backend/src/Model.ts Line 701
Last Updated: 25 April, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.