Skip to content

Commit 988d0b8

Browse files
DOCSP-27227 Clarify MongoDB Aggregation in Compass Filter Doc (#609)
1 parent 49e3b54 commit 988d0b8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

source/query/filter.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -427,9 +427,7 @@ How Does the Compass Query Compare to MongoDB and SQL Queries?
427427
MongoDB Aggregation
428428
.. code-block:: javascript
429429

430-
db.article.aggregate(
431-
{ $filter : { author : { $eq : "Joe Bloggs" } } }
432-
);
430+
db.article.aggregate( { $match: { "author": "Joe Bloggs" } } )
433431

434432
SQL
435433
.. code-block:: sql

0 commit comments

Comments
 (0)