File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change 76
76
Example
77
77
-------
78
78
79
- These examples use the ``sample_mflix`` Atlas dataset.
80
-
81
- Click the :guilabel:`Update` button, the :guilabel:`Update Documents`
82
- modal displays.
83
-
84
- .. code-block:: javascript
85
-
86
- {
87
- $set: { "tomatoes.viewer.rating" : 5 }
88
- }
89
-
79
+ The following examples use the
80
+ :ref:`sample_mflix Atlas dataset <sample-data>`.
90
81
91
82
The following example updates the ``tomatoes.viewer.numReviews`` and
92
83
``tomatoes.viewer.meter`` fields with the Compass
@@ -99,6 +90,9 @@ have a ``year`` of ``1917``.
99
90
100
91
{'year' : 1917}
101
92
93
+ Click the :guilabel:`Update` button, the :guilabel:`Update Documents`
94
+ modal displays.
95
+
102
96
In the :guilabel:`Update` text box, paste the following update
103
97
statement:
104
98
You can’t perform that action at this time.
0 commit comments