SqlExecutor
type SqlExecutor = <T>(strings, ...values) => T[];Minimal tagged-template SQL executor contract.
Structurally identical to SqlExecutor in @kuralle-agents/cf-agent
(Durable Object ctx.storage.sql.exec wrapped by createSqlExecutor),
and trivially implementable over bun:sqlite / better-sqlite3 for
Node-side persistence. Declared here so @kuralle-agents/rag stays
dependency-free of the Cloudflare package.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
|
|
|
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
|
… |
|
Returns
Section titled “Returns”T[]