Skip to content

NullableIdComputeField

NullableIdComputeField<Brand> = object

Defined in: src/adapters/prisma.ts:41

Typed $extends result-component field definition produced by IdTransform.computeNullableField — like IdComputeField but compute returns Id<Brand> | null for nullable columns.

Brand extends string

compute: (model) => Id<Brand> | null

Defined in: src/adapters/prisma.ts:43

Record<string, unknown>

Id<Brand> | null


needs: Record<string, boolean>

Defined in: src/adapters/prisma.ts:42