UNPKG

mingo

Version:

MongoDB query language for in-memory objects

7 lines (6 loc) 428 B
import { AnyObject } from "../../types"; declare const BIT_OPS: readonly ["and", "or", "xor"]; type BitOp = (typeof BIT_OPS)[number]; /** Performs a bitwise update of a field. The operator supports AND, OR, and XOR.*/ export declare function $bit(expr: Record<string, Partial<Record<BitOp, number>>>, arrayFilters?: AnyObject[], options?: import("../../core/_internal").ComputeOptions): (obj: AnyObject) => string[]; export {};