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:
120120.. code-block:: javascript
121121
122122 {
123- title : “ this is my title” ,
124- author : “ bob” ,
123+ title : " this is my title" ,
124+ author : " bob" ,
125125 posted : new Date () ,
126126 pageViews : 5 ,
127- tags : [ “ fun” , “ good” , “ fun” ] ,
127+ tags : [ " fun" , " good" , " fun" ] ,
128128 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" }
131131 ],
132132 other : { foo : 5 }
133133 }
@@ -144,10 +144,10 @@ command:
144144 author : 1,
145145 tags : 1,
146146 } },
147- { $unwind : “ $tags” },
147+ { $unwind : " $tags" },
148148 { $group : {
149149 _id : { tags : "$tags" },
150- authors : { $addToSet : “ $author” }
150+ authors : { $addToSet : " $author" }
151151 } }
152152 );
153153
You can’t perform that action at this time.
0 commit comments