Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ snapshot
Method
snapshot
packages/sql-sqlite-do/test/Client.test.ts:29–31 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
27
tables =
new
Map<string, Array<Record<string, unknown>>>()
28
29
snapshot() {
30
return
new
Map(Array.from(this.tables, ([table, rows]) => [table, rows.map((row) => ({ ...row }))]))
31
}
32
33
exec(sql: string) {
34
this.statements.push(sql)
Callers
nothing calls this directly
Calls
1
map
Method · 0.65
Tested by
no test coverage detected