From af23cd0d291a0013e3e623e2ac329c0eb00fd7d0 Mon Sep 17 00:00:00 2001 From: Durran Jordan Date: Mon, 16 Sep 2024 17:12:14 +0200 Subject: [PATCH] chore: remove comments --- src/db.ts | 2 +- src/explain.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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;