Skip to main content
Module

x/mongoose/types/pipelinestage.d.ts>mongoose.PipelineStage.BucketAuto

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

Properties

$bucketAuto: { groupBy: Expression | Record<string, Expression>; buckets: number; output?: Record<string, AccumulatorOperator>; granularity?:
| "R5"
| "R10"
| "R20"
| "R40"
| "R80"
| "1-2-5"
| "E6"
| "E12"
| "E24"
| "E48"
| "E96"
| "E192"
| "POWERSOF2"
; }