import { type mongoose } from "https://deno.land/x/mongoose@8.6.4/types/expressions.d.ts";
const { GetField } = mongoose.Expression;
Properties
$getField: { field: StringExpression; input?: ObjectExpression | SpecialPathVariables | NullExpression; }
Returns the value of a specified field from a document. If you don't specify an object, $getField returns the value of the field from $$CURRENT.