ReadonlycapacityReturns the maximum capacity of the statement cache.
ReadonlydbReturns the associated database instance.
ReadonlysizeReturns the current number of cached statements.
Execute a query and return all rows as an array.
Template literal strings array.
Values to bind to the placeholders.
Clears all cached statements.
Execute a query and return the first row, or undefined if no rows.
Template literal strings array.
Values to bind to the placeholders.
Execute a query and return an iterator over the rows.
Template literal strings array.
Values to bind to the placeholders.
Execute an INSERT, UPDATE, DELETE or other statement that doesn't return rows.
Template literal strings array.
Values to bind to the placeholders.
An object with changes and lastInsertRowid.
SQLTagStore provides cached prepared statements via tagged template syntax. Statements are cached by their SQL string and reused across invocations.