Skip to content

Commit 2cb731e

Browse files
committed
fix spacing
1 parent 7ae94d0 commit 2cb731e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

source/aggregation.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ This example creates pipeline stages to perform the following actions:
219219
{"_id"=> {"$oid"=> "..."}, "name"=> "Salt & Pepper"}
220220
{"_id"=> {"$oid"=> "..."}, "name"=> "Salt + Charcoal"}
221221
{"_id"=> {"$oid"=> "..."}, "name"=> "A Salt & Battery"}
222-
{"_id"=> {"$oid"=> "..."}, "name"=> "Salt And Fat"}
222+
{"_id"=> {"$oid"=> "..."}, "name"=> "Salt And Fat"}
223223
{"_id"=> {"$oid"=> "..."}, "name"=> "Salt And Pepper Diner"}
224224

225225
Additional Information

source/includes/aggregation.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
pipeline = [
1515
{ '$match' => { 'cuisine' => 'Bakery' } },
1616
{ '$group' => {
17-
'_id' => '$borough',
18-
'count' => { '$sum' => 1 }
17+
'_id' => '$borough',
18+
'count' => { '$sum' => 1 }
1919
}
2020
}
2121
]

0 commit comments

Comments
 (0)