API reference / @evolu/common / Sqlite / SqliteQueryOptions

Interface: SqliteQueryOptions

Defined in: packages/common/src/Sqlite.ts:100

Properties

PropertyModifierTypeDescriptionDefined in
logExplainQueryPlan?readonlybooleanIf set to true, logs the SQLite Explain Query Plan (EQP) for the query. This can help analyze how SQLite plans to execute the query and identify potential optimizations. See: https://www.sqlite.org/eqp.html.packages/common/src/Sqlite.ts:114
logQueryExecutionTime?readonlybooleanIf set to true, logs the time taken to execute the SQL query. Useful for performance monitoring and identifying slow queries.packages/common/src/Sqlite.ts:105
prepare?readonlybooleanIf set to true, explicitly prepares the query before execution. Prepared statements can improve performance for repeated queries by reusing the compiled query. See: https://sqlite.org/wasm/doc/trunk/api-oo1.md#db-prepare.packages/common/src/Sqlite.ts:123

Was this page helpful?