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

Function withoutTransforms

packages/effect/src/unstable/sql/SqlClient.ts:180–197  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

178 transactionService,
179 reserve: transactionAcquirer,
180 withoutTransforms(): any {
181 if (options.transformRows === undefined) {
182 return this
183 }
184 const statement = Statement.make(
185 getConnection,
186 options.compiler.withoutTransform,
187 options.spanAttributes,
188 undefined
189 )
190 const client = Object.assign(statement, {
191 ...this,
192 ...statement
193 })
194 ;(client as any).safe = client
195 ;(client as any).withoutTransforms = () => client
196 return client
197 },
198 reactive: options.reactiveQueue ?
199 <A, E, R>(
200 keys: ReadonlyArray<unknown> | ReadonlyRecord<string, ReadonlyArray<unknown>>,

Callers

nothing calls this directly

Calls 2

assignMethod · 0.80
makeMethod · 0.65

Tested by

no test coverage detected