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

Function updateVoid

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

Source from the content-addressed store, hash-verified

168 }`
169 })
170 const updateVoid = (
171 update: S["update"]["Type"]
172 ): Effect.Effect<void, Schema.SchemaError | SqlError, S["update"]["EncodingServices"]> =>
173 updateVoidSchema(update).pipe(
174 Effect.withSpan(`${options.spanPrefix}.updateVoid`, {
175 attributes: { id: (update as any)[idColumn] }
176 }, {
177 captureStackTrace: false
178 })
179 ) as any
180
181 const findByIdSchema = SqlSchema.findOne({
182 Request: idSchema,

Callers

nothing calls this directly

Calls 1

pipeMethod · 0.65

Tested by

no test coverage detected