ECSqlValueIterator Class

Deprecated  in 4.11. Use IModelDb.createQueryReader or ECDb.createQueryReader to query.

For ECDb, use ECDb.withCachedWriteStatement or ECDb.withWriteStatement to Insert/Update/Delete. IModelDb.createQueryReader is an asynchronous API. If you encounter a use case that cannot be converted to async, please report an issue at https://github.com/iTwin/itwinjs-core/issues. Mean while use IModelDb.withPreparedStatement for synchronous API calls where conversion to async is not possible.

Iterator over members of a struct ECSqlValue or the elements of an array ECSqlValue. See ECSqlValue.getStructIterator or ECSqlValue.getArrayIterator.

Implements

Methods

Name Description
[iterator](): IterableIterator<ECSqlValue, any, any>    
next(): IteratorResult<ECSqlValue, any>    

Defined in

Last Updated: 17 April, 2025