API reference › @evolu/common › Sqlite › PreparedStatements
Defined in: packages/common/src/Sqlite.ts:365
Cache for compiled prepared statements.
Statements are created on first access and reused for subsequent calls with the same SQL. Disposing the cache finalizes all cached statements.
Extends
Methods
[dispose]()
dispose: void;
Defined in: node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.disposable.d.ts:36
Inherited from
Disposable.[dispose]
Properties
get
readonly get: <T>(query: SqliteQuery, alwaysPrepare?: T) => T extends true ? P : P | null;
Defined in: packages/common/src/Sqlite.ts:366