Aggregate expression
1. path expression field
$field
$field.subfield
2. System variable expression
$$variable
3. constant expression
# $literal 用于表示常量,即此处的 $name 表示的是字符串 "$name"
$literal:"$name"
Pipeline stage polymerization
$project
Re-project on the input document
$match
input document screening
$limit
selected documents published before the pipeline N
$skip
skipped-N papers document the pipe
$unwind
to expand the array field in the input document
$sort
input document sort
$lookup
the input query document
$group
on the document input packet
$out
the document output pipeline