The ctx.storage.sql surface this module needs, and nothing wider.
ctx.storage.sql
Narrow: it makes the read/write path drivable from a unit test with a fake, which is the only way to test a Durable Object's storage without a Durable Object.
The
ctx.storage.sqlsurface this module needs, and nothing wider.Narrow: it makes the read/write path drivable from a unit test with a fake, which is the only way to test a Durable Object's storage without a Durable Object.