Skip to content

Commit

Permalink
MONGOID-5539: Fix example in aggregation reference documentation (#5536)
Browse files Browse the repository at this point in the history
* Update aggregation.txt

* Update aggregation.txt
  • Loading branch information
alexbevi authored Feb 6, 2023
1 parent 082f5d9 commit b28a842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/aggregation.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ could do the following:
} },
{'$project' => {_id: 1}},
])
bands = Band.find(band_ids)
bands = Band.find(band_ids.to_a)

Note that the aggregation pipeline, since it is implemented by the Ruby driver
for MongoDB and not Mongoid, returns raw ``BSON::Document`` objects rather than
Expand Down

0 comments on commit b28a842

Please sign in to comment.