readonlysql:AgentHarnessSqlPort
On the Agent Runtime
The runtime adapter builds the port fromhost, which carries the protected members of the Agent class.
exec()callsexec()onthis.ctx.storage.sql, the instance’s own SQLite database. It rejects transaction-control statements such asBEGIN.transactionSync()callsthis.ctx.storage.transactionSync(). If its function throws, every statement the function ran is rolled back.
AgentHarnessSqlPort
Synchronous per-actor SQL surface matching ActorStorage exactly. Methods exec()exec<Type ParametersT>(query, …bindings):SqlCursor<T>
Parameters
Returns
SqlCursor<T>
transactionSync()
transactionSync<Type ParametersT>(fn):T
Parameters
Returns
T