mingo
Version:
MongoDB query language for in-memory objects
8 lines (7 loc) • 443 B
TypeScript
import { AnyObject, Options } from "../../types";
import { SingleKeyRecord } from "./_internal";
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 const $bit: (obj: AnyObject, expr: Record<string, SingleKeyRecord<BitOp, number>>, arrayFilters?: AnyObject[], options?: Options) => string[];
export {};