Skip to content

Commit 61f460f

Browse files
update aggregation without builders
1 parent 0659cc6 commit 61f460f

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

source/aggregation.txt

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,13 +150,12 @@ aggregation operations:
150150

151151
[{"states":["OR","WA","CA"]}]
152152

153-
Aggregation with the Ruby Driver
154-
--------------------------------
153+
Aggregation without Builders
154+
----------------------------
155155

156-
You can use the {+ruby-driver+} to run aggregation operations that do not have
157-
corresponding builder methods by using the
158-
``Collection#aggregate()`` method and passing in an array of aggregation
159-
operations. Using the {+ruby-driver+} to perform the aggregation returns
156+
You can use the ``Collection#aggregate()`` method to run aggregation operations that do not have
157+
corresponding builder methods by passing in an array of aggregation
158+
operations. Using this method to perform the aggregation returns
160159
raw ``BSON::Document`` objects rather than ``Mongoid::Document`` model
161160
instances.
162161

0 commit comments

Comments
 (0)