Skip to main content
Module

x/mongoose/types/expressions.d.ts>mongoose.Expression.Add

MongoDB object modeling designed to work in an asynchronous environment.
Go to Latest
interface mongoose.Expression.Add
import { type mongoose } from "https://deno.land/x/mongoose@6.7.5/types/expressions.d.ts";
const { Add } = mongoose.Expression;

Properties

$add: Expression[]

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.