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: 13 August, 2025