MCPcopy Index your code
hub / github.com/Effect-TS/effect / execute

Method execute

packages/sql-clickhouse/src/ClickhouseClient.ts:180–188  ·  view source on GitHub ↗
(
        sql: string,
        params: ReadonlyArray<unknown>,
        transformRows: (<A extends object>(row: ReadonlyArray<A>) => ReadonlyArray<A>) | undefined
      )

Source from the content-addressed store, hash-verified

178 }
179
180 execute(
181 sql: string,
182 params: ReadonlyArray<unknown>,
183 transformRows: (<A extends object>(row: ReadonlyArray<A>) => ReadonlyArray<A>) | undefined
184 ) {
185 return transformRows
186 ? Effect.map(this.run(sql, params), transformRows)
187 : this.run(sql, params)
188 }
189 executeRaw(sql: string, params: ReadonlyArray<unknown>) {
190 return this.runRaw(sql, params)
191 }

Callers 1

executeUnpreparedMethod · 0.95

Calls 2

runMethod · 0.95
mapMethod · 0.65

Tested by

no test coverage detected