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

Function delete_

packages/effect/src/unstable/sql/SqlModel.ts:209–218  ·  view source on GitHub ↗
(
      id: S["fields"][Id]["Type"]
    )

Source from the content-addressed store, hash-verified

207 }`
208 })
209 const delete_ = (
210 id: S["fields"][Id]["Type"]
211 ): Effect.Effect<void, Schema.SchemaError | SqlError, S["fields"][Id]["EncodingServices"]> =>
212 deleteSchema(id).pipe(
213 Effect.withSpan(`${options.spanPrefix}.delete`, {
214 attributes: { id }
215 }, {
216 captureStackTrace: false
217 })
218 ) as any
219
220 return { insert, insertVoid, update, updateVoid, findById, delete: delete_ } as const
221 })

Callers

nothing calls this directly

Calls 1

pipeMethod · 0.65

Tested by

no test coverage detected