helene
Version:
Real-time Web Apps for Node.js
21 lines (20 loc) • 461 B
TypeScript
/**
* Match any of the subqueries
*/
export declare const LogicalOperators: {
$or: (obj: any, query: any[]) => boolean;
/**
* Match all the subqueries
* @param obj
* @param query
*/
$and: (obj: any, query: any[]) => boolean;
/**
* Match none of the subqueries
*/
$not: (obj: any, query: any) => boolean;
/**
* Match if the function returns true
*/
$where: (obj: any, fn: any) => boolean;
};