AutoBE
    Preparing search index...

    Interface AutoBeRealizeCollectorReference

    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 IEntity parameter in the collector's collect() 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.

    Samchon

    interface AutoBeRealizeCollectorReference {
        databaseSchemaName: string;
        nullable?: boolean;
        source: string;
    }
    Index

    Properties

    databaseSchemaName: string

    Prisma table name of the referenced belongs-to entity (e.g., "shopping_sales", "shopping_customers").

    nullable?: boolean

    Whether 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: string

    Source of this reference:

    • "from path parameter {paramName}" — URL path parameter
    • "from authorized actor" — logged-in user entity
    • "from authorized session" — current session entity, only when the collector target table has a session foreign key