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

Function scopeTables

packages/effect/src/eventlog/SqlEventLogServerEncrypted.ts:286–293  ·  view source on GitHub ↗
(scope: string)

Source from the content-addressed store, hash-verified

284 )
285
286 const scopeTables = (scope: string) => {
287 const table = `${tablePrefix}_${scope}`
288 return {
289 tableSql: sql(table),
290 idsTableSql: sql(`${table}_ids`),
291 snapshotTableSql: sql(`${table}_snapshot`)
292 }
293 }
294 type ScopeTables = ReturnType<typeof scopeTables>
295
296 const ensureTables = Effect.fnUntraced(function*(scope: string, tables: ScopeTables) {

Callers 1

makeStorageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected