prorm API Reference
    Preparing search index...

    Interface Cast

    Represents a SQL CAST expression Used to cast a value to a specific data type

    interface Cast {
        $type: "cast";
        value: string | Literal | Col | Fn;
        type: string;
    }
    Index
    $type: "cast"

    Type identifier for CAST

    value: string | Literal | Col | Fn

    The value to cast (column reference, literal, or function)

    type: string

    The target data type (e.g., 'VARCHAR', 'INTEGER', 'DATE', 'BOOLEAN')