Skip to content

Commit d20702e

Browse files
DOCS-14840 5.0.4 setWindowFields restriction updates (mongodb#5977)
* DOCS-14840 5.0.4 setWindowFields restriction updates * Update source/reference/operator/aggregation/setWindowFields.txt Co-authored-by: jeff-allen-mongo <[email protected]> Co-authored-by: jeff-allen-mongo <[email protected]>
1 parent 2161554 commit d20702e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

source/reference/operator/aggregation/setWindowFields.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,12 @@ Restrictions
242242

243243
Restrictions for the :pipeline:`$setWindowFields` stage:
244244

245+
- Starting in MongoDB 5.0.4, the :pipeline:`$setWindowFields`
246+
stage cannot be used:
247+
248+
- Within :doc:`transactions </core/transactions>`.
249+
- With :readconcern:`"snapshot"` read concern.
250+
245251
- :ref:`sortBy <setWindowFields-sortBy>` is required for:
246252

247253
- :ref:`Rank <setWindowFields-rank-operators>` and :ref:`order

0 commit comments

Comments
 (0)