prorm API Reference
    Preparing search index...

    Interface Fn

    Represents a SQL function expression Used with prorm.fn() to create SQL functions like COUNT, UPPER, YEAR, etc.

    interface Fn {
        fn: string;
        args: (string | Literal | Col | Fn)[];
    }
    Index
    fn: string

    The SQL function name (e.g., 'COUNT', 'UPPER', 'YEAR')

    args: (string | Literal | Col | Fn)[]

    The arguments to the function (can be column references, literals, or other functions)