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

Function recordUpdateHelperSingle

packages/effect/src/unstable/sql/Statement.ts:345–353  ·  view source on GitHub ↗
(
  value: Record<string, unknown>,
  omit: ReadonlyArray<string>
)

Source from the content-addressed store, hash-verified

343 * @since 4.0.0
344 */
345export const recordUpdateHelperSingle = (
346 value: Record<string, unknown>,
347 omit: ReadonlyArray<string>
348): RecordUpdateHelperSingle =>
349 Object.assign(Object.create(RecordUpdateHelperSingleProto), {
350 value,
351 omit,
352 returningIdentifier: undefined
353 })
354
355/**
356 * Custom SQL segment identified by `kind` and interpreted by the compiler's

Callers 1

updateFunction · 0.85

Calls 1

assignMethod · 0.80

Tested by

no test coverage detected