prepareStatement Method
Deprecated in 4.11. Use IModelDb.createQueryReader or ECDb.createQueryReader to query.
Prepare an ECSQL statement.
prepareStatement(sql: string, logErrors: booleantrue): ECSqlStatement
@throws IModelError if there is a problem preparing the statement.
Parameter | Type | Description |
---|---|---|
sql | string | The ECSQL statement to prepare |
logErrors | boolean | Determines if error will be logged if statement fail to prepare |
Returns - ECSqlStatement
Defined in
- core/backend/src/IModelDb.ts Line 1130
Last Updated: 05 April, 2025
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.