prorm API Reference
    Preparing search index...

    Interface StoredCheckConstraint

    Internal storage for check constraints

    interface StoredCheckConstraint {
        type: "table" | "column";
        name: string;
        field?: string;
        operator?: CheckOperator;
        condition?: (row: Record<string, any>) => boolean;
        message?: string;
        sql?: string;
    }
    Index
    type: "table" | "column"
    name: string
    field?: string
    operator?: CheckOperator
    condition?: (row: Record<string, any>) => boolean
    message?: string
    sql?: string