createQueryReader Method

Allow to execute query and read results along with meta data. The result are streamed.

See also:

createQueryReader(ecsql: string, params?: QueryBinder, config?: QueryOptions): ECSqlReader

@returns Returns an ECSqlReader which helps iterate over the result set and also give access to metadata.

Parameter Type Description
ecsql string  
params QueryBinder The values to bind to the parameters (if the ECSQL has any).
config QueryOptions Allow to specify certain flags which control how query is executed.

Returns - ECSqlReader

Returns an ECSqlReader which helps iterate over the result set and also give access to metadata.

Defined in

Last Updated: 17 December, 2024