MCPcopy Create free account
hub / github.com/effect-app/libs / update

Function update

packages/infra/src/SQL/Model.ts:717–723  ·  view source on GitHub ↗
(
      update: S["update"]["Type"]
    )

Source from the content-addressed store, hash-verified

715 })
716 })
717 const update = (
718 update: S["update"]["Type"]
719 ): Effect.Effect<S["Type"], Schema.SchemaError, S["DecodingServices"] | S["update"]["EncodingServices"]> =>
720 updateSchema(update).pipe(
721 Effect.catchTag("NoSuchElementError", Effect.die),
722 opSpan("update", (update as any)[idColumn])
723 ) as any
724
725 const updateVoidSchema = SqlSchema.void({
726 Request: Model.update,

Callers

nothing calls this directly

Calls 2

opSpanFunction · 0.85
pipeMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…