Prisma table name of the referenced belongs-to entity (e.g., "shopping_sales", "shopping_customers").
OptionalnullableWhether this reference may be absent, i.e. every foreign key from the collector target table to databaseSchemaName is a nullable belongs-to relation.
When true, the generated collect() signature slot is widened to
IEntity | null so a caller can pass null for the absent parent (e.g. a
self-referential parent of a top-level row, or an optional path target),
and connecting it requires a null guard (props.X ? { connect: { id: props.X.id } } : undefined). Computed deterministically from the database
schema; undefined/false keeps the slot a required IEntity.
Source of this reference:
External entity reference needed by a collector function.
FK references not in the Create DTO come from path parameters or auth context. Each becomes an
IEntityparameter in the collector'scollect()signature.The referenced database schema must be an actual foreign key target of the collector target table. Do not list an authenticated actor/session merely because it is available; include it only when the collected row stores that relation.
Author
Samchon