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.
Type Parameters
Section titled “Type Parameters”Brand extends string
Properties
Section titled “Properties”compute
Section titled “compute”compute: (
model) =>Id<Brand> |null
Defined in: src/adapters/prisma.ts:43
Parameters
Section titled “Parameters”Record<string, unknown>
Returns
Section titled “Returns”Id<Brand> | null
needs:
Record<string,boolean>
Defined in: src/adapters/prisma.ts:42