Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Add

Index

Properties

Properties

$add: any[]

Adds numbers to return the sum, or adds numbers and a date to return a new date. If adding numbers and a date, treats the numbers as milliseconds. Accepts any number of argument expressions, but at most, one expression can resolve to a date.

see

https://docs.mongodb.com/manual/reference/operator/aggregation/add/#mongodb-expression-exp.-add

Generated using TypeDoc