-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Labels:None
The following documentation has unfinished sentences when discussing $$NOW:
https://docs.mongodb.com/manual/tutorial/update-documents-with-aggregation-pipeline/
Example:
Specifically, the pipeline consists of a $set stage which adds the test3 field (and sets its value to 98) to the document and sets the modified field to the current datetime. For the current datetime, the operation uses the aggregation variable NOW for the (to access the variable, prefix with $$ and enclose in quotes).