From 25c16e7ca33617c263681a548d43bc850c9927c6 Mon Sep 17 00:00:00 2001 From: Ivan Medina Date: Fri, 3 Jul 2026 11:36:39 -0300 Subject: [PATCH] fix(mongodb-constants): update $unionWith db field to MongoDB 9.1 COMPASS-9980 The $unionWith 'db' field syntax was removed from 9.0 and is now tentatively planned for 9.1 (SERVER-128724). --- packages/mongodb-constants/src/stage-operators.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mongodb-constants/src/stage-operators.ts b/packages/mongodb-constants/src/stage-operators.ts index 91fa7978..ba5bcef2 100644 --- a/packages/mongodb-constants/src/stage-operators.ts +++ b/packages/mongodb-constants/src/stage-operators.ts @@ -1260,7 +1260,7 @@ const STAGE_OPERATORS = [ namespaces: [...ANY_NAMESPACE], description: 'Perform a union with a pipeline on another collection.', comment: `/** - * db: Optional. The target database name (MongoDB 9.0+). + * db: Optional. The target database name (MongoDB 9.1+). * coll: The collection name. * pipeline: The pipeline on the other collection. */