MCPcopy
hub / github.com/Automattic/mongoose / AggregateOptions

Interface AggregateOptions

types/aggregate.d.ts:7–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5 type AggregateExtract<P> = P extends Aggregate<infer T> ? T : never;
6
7 interface AggregateOptions extends Omit<mongodb.AggregateOptions & mongodb.Abortable, 'session'>, SessionOption {
8 /** set to `false` to skip all user-defined middleware, or `{ pre: false }` / `{ post: false }` to skip only pre or post hooks */
9 middleware?: boolean | SkipMiddlewareOptions;
10 [key: string]: any;
11 }
12
13 class Aggregate<ResultType> implements SessionOperation {
14 /**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…