diff --git a/src/db.ts b/src/db.ts index 0dcd24dbb1..53c18e44af 100644 --- a/src/db.ts +++ b/src/db.ts @@ -279,7 +279,7 @@ export class Db { } /** - * Execute an aggregation framework pipeline against the database, needs MongoDB \>= 3.6 + * Execute an aggregation framework pipeline against the database. * * @param pipeline - An array of aggregation stages to be executed * @param options - Optional settings for the command diff --git a/src/explain.ts b/src/explain.ts index 0d08e694a6..6637aae80c 100644 --- a/src/explain.ts +++ b/src/explain.ts @@ -13,8 +13,7 @@ export type ExplainVerbosity = string; /** * For backwards compatibility, true is interpreted as "allPlansExecution" - * and false as "queryPlanner". Prior to server version 3.6, aggregate() - * ignores the verbosity parameter and executes in "queryPlanner". + * and false as "queryPlanner". * @public */ export type ExplainVerbosityLike = ExplainVerbosity | boolean;