Skip to main content

mongoOperators

const mongoOperators: { !=: string; <: string; <=: string; =: string; >: string; >=: string; in: string; notin: string; notIn: string; }

Defined in: packages/core/src/utils/formatQuery/utils.ts:123

Maps a (lowercase) DefaultOperatorName to a MongoDB operator.

Type Declaration​

!=

!=: string = '$ne'

<​

<: string = '$lt'

<=​

<=: string = '$lte'

=​

=: string = '$eq'

>​

>: string = '$gt'

>=​

>=: string = '$gte'

in​

in: string = '$in'

notin​

notin: string = '$nin'

notIn​

notIn: string = '$nin'


caution

API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.