My Library Docs

Multi-root Sidebar

flex-layout

  • Getting Started

  • Guides

  • Reference

typed-rx-http

  • Getting Started

  • Guides

  • Reference

global-rx-state

  • Getting Started

  • Guides

  • Reference

webflux-fe-dev-assistant

reactive-mongo-dsl

FieldsPair & Criteria

Use FieldsPair, Condition, logical grouping, id alias, and Driver-native filter to construct dynamic MongoDB conditions.


FieldsPair and Condition
java

eq, notEq, between, gt/gte, lt/lte

in, notIn, like, regex, exists

isNull, isNotNull, all, near, nearSphere, elemMatch

Dynamic conditions and autoRangePair
java

from + to

between

from only

gte

to only

lte

Neither

Returns null, so it can be naturally excluded from dynamic conditions.

AND / OR / NOT grouping
java

FieldBuilder supports and, or, not, notAny, notAll, and allows direct specification of the root logical operator.

Field name and id rules
java

Only the exact id path segment is normalized to _id. A valid 24-character hex String passed to the id alias can be converted to ObjectId, but a String specified directly as _id will not be automatically converted. String field paths are based on physical MongoDB field names.

Driver-native filter
java

driverFilter(Bson) uses the Driver definition as is, without reinterpreting raw BSON or field mapping.

© 2026 Byeolnaerim. All rights reserved.IntroductionPrivacy Policy