Libraries
    Preparing search index...

    Interface ResolvedVariantSpecInternal

    Resolved, normalised variant spec stored in schema extensions.

    interface ResolvedVariantSpec {
        allowOrphan: boolean;
        enforceCheck: boolean;
        foreignKey?: string;
        relations: ResolvedVariantRelationSpec[];
        schema: ObjectSchemaBuilder<any, any, any, any, any, any, any>;
        storage: VariantStorageType;
        tableName?: string;
    }
    Index

    Properties

    allowOrphan: boolean
    enforceCheck: boolean
    foreignKey?: string

    CTI: FK column name on the variant table.

    relations: ResolvedVariantRelationSpec[]

    Variant-scoped relations (resolved), populated by .withVariants().

    schema: ObjectSchemaBuilder<any, any, any, any, any, any, any>
    tableName?: string

    CTI: variant table name (from schema.hasTableName()).