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

Function asCommand

packages/sql/clickhouse/src/ClickhouseClient.ts:357–359  ·  view source on GitHub ↗
(effect: Effect.Effect<A, E, R>)

Source from the content-addressed store, hash-verified

355 return Statement.fragment([clickhouseParam(dataType, value)])
356 },
357 asCommand<A, E, R>(effect: Effect.Effect<A, E, R>) {
358 return Effect.provideService(effect, ClientMethod, "command")
359 },
360 insertQuery<T = unknown>(options: {
361 readonly table: string
362 readonly values: Clickhouse.InsertValues<Readable, T>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected