File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ following form:
248
248
]
249
249
}
250
250
251
- An index on the ``comments`` field would be a multikey index, and will
251
+ An index on the ``comments.text `` field would be a multikey index, and will
252
252
add items to the index for all of the sub-documents in the array. As a
253
253
result you will be able to run the following query, using only the
254
254
index to locate the document:
@@ -257,13 +257,6 @@ index to locate the document:
257
257
258
258
db.feedback.find( { "comments.text": "Please expand the olive selection." } )
259
259
260
- The following operators are useful for interacting with arrays, like
261
- the ones that you would index using multikey indexes.
262
-
263
- - :operator:`$addToSet`
264
- - :operator:`$push`
265
- - :operator:`$pull`
266
- - :operator:`$all`
267
260
268
261
.. warning::
269
262
You can’t perform that action at this time.
0 commit comments