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

Function unsafe

packages/effect/src/unstable/sql/Statement.ts:560–571  ·  view source on GitHub ↗
(
        sql: string,
        params?: ReadonlyArray<unknown>
      )

Source from the content-addressed store, hash-verified

558 },
559 {
560 unsafe<A extends object = Row>(
561 sql: string,
562 params?: ReadonlyArray<unknown>
563 ) {
564 return makeUnsafe<A>(
565 [literal(sql, params)],
566 acquirer,
567 compiler,
568 spanAttributes,
569 transformRows
570 )
571 },
572 literal(sql: string) {
573 return fragment([literal(sql)])
574 },

Callers

nothing calls this directly

Calls 2

makeUnsafeFunction · 0.70
literalFunction · 0.70

Tested by

no test coverage detected