Skip to content

Commit 93f18db

Browse files
author
Sam Kleinman
committed
SERVER-6335 aggreation: no operations in statements
1 parent adf0aeb commit 93f18db

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

source/reference/aggregation.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,11 @@ The current pipeline operators are:
284284
advantage of :term:`indexes <index>` like any other
285285
:mongodb:func:`db.collection.find()` or :mongodb:func:`db.collection.findOne()`.
286286

287+
.. warning::
288+
289+
You cannot use :mongodb:operator:`$where` operations in
290+
:pipeline:`$match` queries as part of the aggregation pipeline.
291+
287292
.. pipeline:: $limit
288293

289294
Restricts the number of :term:`documents <document>` that

0 commit comments

Comments
 (0)