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

Function delete_

packages/infra/src/SQL/Model.ts:764–769  ·  view source on GitHub ↗
(
      id: S["fields"][Id]["Type"]
    )

Source from the content-addressed store, hash-verified

762 execute: (id: any) => sql`delete from ${sql(options.tableName)} where ${sql(idColumn)} = ${id}`
763 })
764 const delete_ = (
765 id: S["fields"][Id]["Type"]
766 ): Effect.Effect<void, Schema.SchemaError, S["fields"][Id]["EncodingServices"]> =>
767 deleteSchema(id).pipe(
768 opSpan("delete", id)
769 ) as any
770
771 return { insert, insertVoid, update, updateVoid, findById, delete: delete_ } as const
772 })

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…