prorm API Reference
    Preparing search index...

    Interface RowCheckConstraint

    Row-level check constraint for table-level checks Uses a function to express cross-column conditions

    interface RowCheckConstraint {
        condition: (row: Record<string, any>) => boolean;
        message?: string;
    }
    Index
    condition: (row: Record<string, any>) => boolean
    message?: string