prepare Method
Prepare this statement prior to first use.
prepare(db: AnyDb, logErrors: boolean = true): void
throws if the SQL statement cannot be prepared. Normally, prepare fails due to SQL syntax errors or references to tables or properties that do not exist. The error.message property will provide details.
Parameter | Type | Description |
---|---|---|
db | AnyDb | The DgnDb or ECDb to prepare the statement against |
logErrors | boolean | Determine if errors are logged or not |
Returns - void
Defined in
- backend/src/SqliteStatement.ts Line 77
Last Updated: 30 November, 2023