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

Function ResultId

packages/effect/src/unstable/sql/SqlModel.ts:330–332  ·  view source on GitHub ↗
(request: any)

Source from the content-addressed store, hash-verified

328 Id: idSchema,
329 Result: Model,
330 ResultId(request: any) {
331 return request[idColumn]
332 },
333 execute: (ids: any) =>
334 sql`select * from ${sql(options.tableName)} where ${withSoftDeleteFilter(sql.in(idColumn, ids))}`
335 }).pipe(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected