Skip to main content

mongoOperators

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

Defined in: packages/react-querybuilder/src/utils/formatQuery/utils.ts:48

Maps a 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.