mingo
    Preparing search index...

    Interface Modifier<T>

    interface Modifier<T> {
        $addToSet?: UpdateExpr<T>;
        $bit?: UpdateExpr<T, SingleKeyRecord<"and" | "or" | "xor", number>>;
        $currentDate?: UpdateExpr<T, true | { $type: "date" | "timestamp" }>;
        $inc?: UpdateExpr<T, number>;
        $max?: UpdateExpr<T>;
        $min?: UpdateExpr<T>;
        $mul?: UpdateExpr<T, number>;
        $pop?: UpdateExpr<T, 1 | -1>;
        $pull?: UpdateExpr<T>;
        $pullAll?: UpdateExpr<T, Any[]>;
        $push?: UpdateExpr<T>;
        $rename?: UpdateExpr<T, string>;
        $set?: UpdateExpr<T>;
        $unset?: UpdateExpr<T, "">;
    }

    Type Parameters

    • T
    Index

    Properties

    $addToSet?: UpdateExpr<T>
    $bit?: UpdateExpr<T, SingleKeyRecord<"and" | "or" | "xor", number>>
    $currentDate?: UpdateExpr<T, true | { $type: "date" | "timestamp" }>
    $inc?: UpdateExpr<T, number>
    $max?: UpdateExpr<T>
    $min?: UpdateExpr<T>
    $mul?: UpdateExpr<T, number>
    $pop?: UpdateExpr<T, 1 | -1>
    $pull?: UpdateExpr<T>
    $pullAll?: UpdateExpr<T, Any[]>
    $push?: UpdateExpr<T>
    $rename?: UpdateExpr<T, string>
    $set?: UpdateExpr<T>
    $unset?: UpdateExpr<T, "">