import { type mongoose } from "https://deno.land/x/mongoose@7.8.2/types/expressions.d.ts";
const { Year } = mongoose.Expression;
Properties
$year: DateExpression | { date: DateExpression; timezone?: tzExpression; }
Returns the year for a date as a number (e.g. 2014).