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

Function query

packages/effect/src/eventlog/SqlEventLogServerEncrypted.ts:409–410  ·  view source on GitHub ↗
(statement: Statement.Statement<unknown>)

Source from the content-addressed store, hash-verified

407
408 // Statements that return rows the caller decodes.
409 const query = (statement: Statement.Statement<unknown>) =>
410 statement as unknown as Effect.Effect<ReadonlyArray<Record<string, unknown>>, SqlError.SqlError>
411
412 // Inserts the rows whose `keys` are not stored yet, leaving stored rows as
413 // they are, and returns how many were inserted. Every row has the same

Callers 8

maxLastSequenceFunction · 0.70
makeStorageFunction · 0.70
selectStoreFunction · 0.70
lockStoreFunction · 0.70
selectStageFunction · 0.70
selectActivationFunction · 0.70
selectActivationsFunction · 0.70
setRowsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected