Remote / foldkit-remote-drizzle

EntityCheckOptions

interface · packages/remote-drizzle/src/checks.ts:553

interface EntityCheckOptions<E extends Domain.AnyEntity> {
  readonly fields?:
    | {
        readonly [K in keyof E['fields']]?: AnyColumn
      }
    | undefined
  readonly operators?: Partial<BindingOperators> | undefined
}

Options for entityChecks, matching what bind is given for the same table.

Members

EntityCheckOptions.fields

property · packages/remote-drizzle/src/checks.ts:555

readonly fields?:
  | {
      readonly [K in keyof E['fields']]?: AnyColumn
    }
  | undefined

A column for a field whose name differs from the column's key; the rest match by key.

EntityCheckOptions.operators

property · packages/remote-drizzle/src/checks.ts:557

readonly operators?: Partial<BindingOperators> | undefined

How an invariant's primitive operators run in SQL; each kernel's when not given.