prorm API Reference
    Preparing search index...

    Interface DataTypeVirtual

    A computed attribute that exists on the instance but has no column. Declare the fields it reads so a query that selects it also selects its inputs.

    interface DataTypeVirtual {
        toSql?: () => string;
        key: "VIRTUAL";
        returnType?: DataType;
    }

    Hierarchy (View Summary)

    Index
    toSql?: () => string
    key: "VIRTUAL"
    returnType?: DataType