MCPcopy Create free account
hub / github.com/effect-app/libs / exec

Function exec

packages/infra/src/Store/SQL/Pg.ts:88–88  ·  view source on GitHub ↗
(query: string, params?: readonly unknown[])

Source from the content-addressed store, hash-verified

86 `CREATE TABLE IF NOT EXISTS "${tableName}" (id TEXT NOT NULL, _namespace TEXT NOT NULL DEFAULT 'primary', _etag TEXT, data JSONB NOT NULL, PRIMARY KEY (id, _namespace))`
87 )
88 .pipe(
89 Effect.andThen(
90 sql.unsafe(
91 `CREATE TABLE IF NOT EXISTS "_migrations" (id TEXT NOT NULL, version TEXT NOT NULL, PRIMARY KEY (id, version))`

Callers 1

Pg.tsFile · 0.70

Calls 1

pipeMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…