prorm API Reference
    Preparing search index...

    Interface DateTimeExpression

    A wrapped, dialect-resolved SQL expression produced by the functions below. Renders through the same { $literal } channel that Op.literal() / literal() already produce, so it can be used anywhere an attribute expression, WHERE value, or ORDER BY expression is accepted.

    interface DateTimeExpression {
        __type: "literal";
        sql: string;
        $literal: string;
        as(alias: string): [DateTimeExpression, string];
    }
    Index
    __type: "literal"
    sql: string
    $literal: string