MCPcopy Create free account
hub / github.com/Effect-TS/effect / restore

Method restore

packages/sql/sqlite-do/test/Client.test.ts:34–37  ·  view source on GitHub ↗
(snapshot: ReturnType<FakeSqlStorage["snapshot"]>)

Source from the content-addressed store, hash-verified

32 }
33
34 restore(snapshot: ReturnType<FakeSqlStorage["snapshot"]>) {
35 this.tables = snapshot.tables
36 this.columns = snapshot.columns
37 }
38
39 exec(sql: string, ...params: ReadonlyArray<unknown>) {
40 this.statements.push(sql)

Callers 1

transactionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected