queryParent Method
Query for the parent of the specified element.
queryParent(elementId: string): string | undefined
@returns The identifier of the element's parent or undefined if the element has no parent
@throws IModelError if the element does not exist
| Parameter | Type | Description |
|---|---|---|
| elementId | string | The element to check for a parent |
Returns - string | undefined
The identifier of the element's parent or undefined if the element has no parent
Defined in
- backend/src/IModelDb.ts Line 2925
Last Updated: 06 May, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.