FieldsPair & Criteria
field, value, Condition을 pair로 만들고 logical group을 중첩합니다.
지원 Condition
eq / notEq
같음, 같지 않음
between / gt / gte / lt / lte
범위와 대소 비교
in / notIn / all
collection과 array 조건
like / regex
문자열 pattern 조건
exists / isNull / isNotNull
필드 존재와 null 조건
near / nearSphere
2d 또는 GeoJSON 거리 검색
elemMatch
배열 요소 조건
autoRangePair
java
하한과 상한이 모두 있으면 between, 하한만 있으면 gte, 상한만 있으면 lte, 둘 다 없으면 null을 반환합니다.
논리 group
java
and(block)
중첩 AND group
or(block)
중첩 OR group
not(block)
중첩 조건 전체의 부정
notAny(block)
NOR group
notAll(block)
현재 구현에서는 not(block) alias