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

Function insertVoid

packages/effect/src/unstable/sql/SqlModel.ts:119–126  ·  view source on GitHub ↗
(
      insert: S["insert"]["Type"]
    )

Source from the content-addressed store, hash-verified

117 execute: (request) => sql`insert into ${sql(options.tableName)} ${sql.insert(request as any)}`
118 })
119 const insertVoid = (
120 insert: S["insert"]["Type"]
121 ): Effect.Effect<void, Schema.SchemaError | SqlError, S["insert"]["EncodingServices"]> =>
122 insertVoidSchema(insert).pipe(
123 Effect.withSpan(`${options.spanPrefix}.insertVoid`, {}, {
124 captureStackTrace: false
125 })
126 ) as any
127
128 const updateSchema = SqlSchema.findOne({
129 Request: Model.update,

Callers

nothing calls this directly

Calls 1

pipeMethod · 0.65

Tested by

no test coverage detected