API reference@evolu/commonSqlite › SqliteQueryOptions

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

Options for configuring SqliteQuery execution behavior.

Properties

logExplainQueryPlan?

readonly optional logExplainQueryPlan?: boolean;

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

If 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.


logQueryExecutionTime?

readonly optional logQueryExecutionTime?: boolean;

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

If set to true, logs the time taken to execute the SQL query. Useful for performance monitoring and identifying slow queries.


prepare?

readonly optional prepare?: boolean;

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

If 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.