(MongoDB) MongoDB 의 시스템 변수(System Variables)

System Variables

MongoDB offers the following system variables:
VariableDescription
ROOT
References the root document, i.e. the top-level document, currently being processed in the aggregation pipeline stage.
CURRENT
References the start of the field path being processed in the aggregation pipeline stage. Unless documented otherwise, all stages start with CURRENT the same as ROOT.
CURRENT is modifiable. However, since $<field> is equivalent to $$CURRENT.<field>, rebinding CURRENT changes the meaning of $ accesses.
DESCEND
One of the allowed results of a $redact expression.
PRUNE
One of the allowed results of a $redact expression.
KEEP
One of the allowed results of a $redact expression.

댓글

이 블로그의 인기 게시물

(네트워크)폴링방식 vs 롱 폴링방식

(ElasticSearch) 결과에서 순서 정렬

(18장) WebSocekt과 STOMP를 사용하여 메시징하기