prepareStatement Method
Prepare an ECSQL statement.
prepareStatement(sql: string, logErrors: boolean = true): 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
- backend/src/IModelDb.ts Line 982
Last Updated: 20 June, 2023