Skip to main content

mongoOperators

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

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'

Defined in

packages/react-querybuilder/src/utils/formatQuery/utils.ts:42


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.