executeQuery MethodProtected
Executes an ECSql query against the IModelDb.
executeQuery<TRow>(query: string, options?: ECSqlQueryOptions): Promise<ReadonlyArray<TRow>>
@returns A promise that resolves to read-only array of type TRow.
| Parameter | Type | Description | 
|---|---|---|
| query | string | The query to execute | 
| options | ECSqlQueryOptions | The ECSqlQueryOptionsecschema-metadata to use. | 
Returns - Promise<ReadonlyArray<TRow>>
A promise that resolves to read-only array of type TRow.
Defined in
Last Updated: 30 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.