AutoBE
    Preparing search index...

    Prisma

    configuration for a foreign key.

    interface IRelation {
        name: string & CamelCasePattern;
        oppositeName: string & CamelCasePattern;
        targetModel: string;
    }
    Index

    Properties

    name: string & CamelCasePattern

    Relation property name in this model. MUST use camelCase.

    oppositeName: string & CamelCasePattern

    Inverse relation property name generated in the target model. Typically plural for 1:N (e.g., "comments"), singular for 1:1.

    targetModel: string

    Must match an existing model name in the schema.