File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -120,14 +120,14 @@ using the following format:
120
120
.. code-block:: javascript
121
121
122
122
{
123
- title : “ this is my title” ,
124
- author : “ bob” ,
123
+ title : " this is my title" ,
124
+ author : " bob" ,
125
125
posted : new Date () ,
126
126
pageViews : 5 ,
127
- tags : [ “ fun” , “ good” , “ fun” ] ,
127
+ tags : [ " fun" , " good" , " fun" ] ,
128
128
comments : [
129
- { author :“ joe” , text : “ this is cool” } ,
130
- { author :“ sam” , text : “ this is bad” }
129
+ { author :" joe" , text : " this is cool" } ,
130
+ { author :" sam" , text : " this is bad" }
131
131
],
132
132
other : { foo : 5 }
133
133
}
@@ -144,10 +144,10 @@ command:
144
144
author : 1,
145
145
tags : 1,
146
146
} },
147
- { $unwind : “ $tags” },
147
+ { $unwind : " $tags" },
148
148
{ $group : {
149
149
_id : { tags : "$tags" },
150
- authors : { $addToSet : “ $author” }
150
+ authors : { $addToSet : " $author" }
151
151
} }
152
152
);
153
153
You can’t perform that action at this time.
0 commit comments