Skip to content

Commit

Permalink
REMOVE $all query type #4203
Browse files Browse the repository at this point in the history
  • Loading branch information
pubkey authored Dec 30, 2022
1 parent d828b81 commit 9d669c1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/types/rx-query.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ import {
} from '../rx-query';
import { StringKeys } from './util';

/**
* The MongoDB query library is huge and we do not need all the operators.
* If you add an operator here, make sure that you properly add a test in
* the file /test/unit/rx-storage-query-correctness.test.ts
*
* @link https://github.com/kofrasa/mingo#es6
*/
export interface RxQueryOptions<T> {
$eq?: T;
$gt?: T;
Expand All @@ -17,7 +24,6 @@ export interface RxQueryOptions<T> {
$type?: 'null' | 'boolean' | 'number' | 'string' | 'array' | 'object';
$mod?: number;
$not?: T;
$all?: T[];
$size?: number;
$elemMatch?: RxQueryOptions<T>;
}
Expand Down

0 comments on commit 9d669c1

Please sign in to comment.