File tree Expand file tree Collapse file tree 20 files changed +39
-40
lines changed Expand file tree Collapse file tree 20 files changed +39
-40
lines changed Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ content: |
229
229
230
230
Starting in MongoDB 4.4, you can specify a :operator:`$natural`
231
231
sort when running a :dbcommand:`find` operation against a
232
- :doc :`view </core/ views>`.
232
+ :ref :`view <views-landing-page >`.
233
233
---
234
234
ref : 4.4-changes-drop-in-progress-indexes
235
235
content : |
Original file line number Diff line number Diff line change @@ -155,13 +155,13 @@ content: |
155
155
- Using the array projection operators :projection:`$elemMatch`,
156
156
:projection:`$slice`, specifies the array element(s) to include,
157
157
thereby excluding those elements that do not meet the
158
- expressions. (Not available for :doc :`views </core/ views>`.)
158
+ expressions. (Not available for :ref :`views <views-landing-page >`.)
159
159
160
160
* - ``<field>: <$meta expression>``
161
161
162
162
- Using the :expression:`$meta` operator expression, specifies the
163
163
inclusion of available :expression:`per-document metadata
164
- <$meta>`. (Not available for :doc :`views </core/ views>`.)
164
+ <$meta>`. (Not available for :ref :`views <views-landing-page >`.)
165
165
166
166
167
167
* - ``<field>: <aggregation expression>``
@@ -232,7 +232,7 @@ content: |
232
232
- Using the array projection operators :projection:`$elemMatch`,
233
233
:projection:`$slice`, specifies the array element(s) to include,
234
234
thereby excluding those elements that do not meet the
235
- expressions. (Not available for :doc :`views </core/ views>`.)
235
+ expressions. (Not available for :ref :`views <views-landing-page >`.)
236
236
237
237
* - ``<field>: <aggregation expression>``
238
238
Original file line number Diff line number Diff line change @@ -4,20 +4,20 @@ content: |
4
4
---
5
5
ref : views-unsupported-text-search
6
6
content : |
7
- :doc :`Views </core/ views>` do not support text search.
7
+ :ref :`Views <views-landing-page >` do not support text search.
8
8
---
9
9
ref : views-unsupported-mapReduce
10
10
content : |
11
- :doc :`Views </core/ views>` do not support map-reduce operations.
11
+ :ref :`Views <views-landing-page >` do not support map-reduce operations.
12
12
---
13
13
ref : views-unsupported-rename
14
14
content : |
15
- You cannot rename :doc :`views </core/ views>`.
15
+ You cannot rename :ref :`views <views-landing-page >`.
16
16
---
17
17
ref : views-unsupported-geoNear
18
18
content : |
19
- :doc :`Views </core/ views>` do not support geoNear operations (i.e.
20
- :pipeline:`$geoNear` pipeline stage).
19
+ :ref :`Views <views-landing-page >` do not support geoNear operations
20
+ (specifically, the :pipeline:`$geoNear` pipeline stage).
21
21
---
22
22
ref : views-unsupported-projection-operators
23
23
content : |
@@ -31,7 +31,7 @@ content: |
31
31
---
32
32
ref : _views-unsupported-projection
33
33
content : |
34
- :method:`db.collection.find()` operations on :doc :`views </core/ views>` do not support {{projection}} projection operator.
34
+ :method:`db.collection.find()` operations on :ref :`views <views-landing-page >` do not support {{projection}} projection operator.
35
35
---
36
36
ref : views-unsupported-projection-$
37
37
inherit :
Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ Views
238
238
.. collflag:: pipeline
239
239
240
240
The :ref:`aggregation pipeline <aggregation-pipeline>` that defines
241
- the :doc :`view </core/ views>`.
241
+ the :ref :`view <views-landing-page >`.
242
242
243
243
.. note::
244
244
Original file line number Diff line number Diff line change @@ -517,7 +517,7 @@ Create a View
517
517
518
518
.. include:: /includes/extracts/views-restriction-output-to-disk.rst
519
519
520
- To create a :doc :`view </core/ views>` using the :dbcommand:`create`
520
+ To create a :ref :`view <views-landing-page >` using the :dbcommand:`create`
521
521
command, use the following syntax:
522
522
523
523
.. code-block:: javascript
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ Output
117
117
118
118
.. data:: dbStats.views
119
119
120
- Number of :doc :`views </core/ views>` in the database.
120
+ Number of :ref :`views <views-landing-page >` in the database.
121
121
122
122
.. data:: dbStats.objects
123
123
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ The command accepts the following fields:
86
86
87
87
* - ``find``
88
88
- string
89
- - The name of the collection or :doc :`view </core/ views>` to query.
89
+ - The name of the collection or :ref :`view <views-landing-page >` to query.
90
90
91
91
* - ``filter``
92
92
- document
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Definition
16
16
.. dbcommand:: listCollections
17
17
18
18
Retrieve information, i.e. the name and options, about the
19
- collections and :doc :`views </core/ views>` in a database. Specifically, the command returns a
19
+ collections and :ref :`views <views-landing-page >` in a database. Specifically, the command returns a
20
20
document that contains information with which to create a
21
21
cursor to the collection information. :binary:`~bin.mongosh`
22
22
provides the :method:`db.getCollectionInfos()` and the
Original file line number Diff line number Diff line change @@ -1484,7 +1484,7 @@ View
1484
1484
~~~~
1485
1485
1486
1486
Starting in MongoDB 5.0, :ref:`log messages for slow queries
1487
- <log-message-slow-ops>` on :doc :`views </core/ views>` include a
1487
+ <log-message-slow-ops>` on :ref :`views <views-landing-page >` include a
1488
1488
``resolvedViews`` field that contains the view details:
1489
1489
1490
1490
.. code-block:: javascript
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ Definition
20
20
.. include:: /includes/fact-mongosh-shell-method-alt.rst
21
21
22
22
23
- Calculates aggregate values for the data in a collection or a :doc :`view </core/ views>`.
23
+ Calculates aggregate values for the data in a collection or a :ref :`view <views-landing-page >`.
24
24
25
25
.. list-table::
26
26
:header-rows: 1
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ Definition
21
21
.. include:: /includes/fact-mongosh-shell-method.rst
22
22
23
23
24
- Removes a collection or :doc :`view </core/ views>` from the database.
24
+ Removes a collection or :ref :`view <views-landing-page >` from the database.
25
25
The method also removes any indexes associated with the dropped
26
26
collection. The method provides a wrapper around the
27
27
:dbcommand:`drop` command.
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ Definition
15
15
16
16
.. method:: db.createCollection(name, options)
17
17
18
- Creates a new collection or :doc :`view </core/ views>`. For views,
18
+ Creates a new collection or :ref :`view <views-landing-page >`. For views,
19
19
see also :method:`db.createView()`.
20
20
21
21
Because MongoDB creates a collection implicitly when the collection
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ db.createView()
14
14
15
15
.. include:: /includes/views/disambiguate-standard-materialized.rst
16
16
17
- Creates a :doc :`view </core/ views>` as the result of the applying
17
+ Creates a :ref :`view <views-landing-page >` as the result of the applying
18
18
the specified :ref:`aggregation pipeline <aggregation-pipeline>` to
19
19
the source collection or view. Views act as read-only collections,
20
20
and are computed on demand during read operations. You must create
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ Definition
15
15
16
16
.. method:: db.getCollection(name)
17
17
18
- Returns a :term:`collection` or a :doc :`view </core/ views>` object
18
+ Returns a :term:`collection` or a :ref :`view <views-landing-page >` object
19
19
that is functionally equivalent to using the ``db.<collectionName>``
20
20
syntax. The method is useful for a collection or a view whose name
21
21
might interact with :binary:`~bin.mongosh` itself, such as names
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Definition
16
16
.. method:: db.getCollectionNames()
17
17
18
18
Returns an array containing the names of all collections and
19
- :doc :`views </core/ views>` in the current database, or if running
19
+ :ref :`views <views-landing-page >` in the current database, or if running
20
20
with access control, the names of the collections according to user's
21
21
privilege. For details, see :ref:`db.collectionnames-access`.
22
22
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ Definition
127
127
128
128
* - ``latencyStats``
129
129
- Statistics related to request latency for a collection or
130
- :doc :`view </core/ views>`. See :ref:`latency-stats-document`
130
+ :ref :`view <views-landing-page >`. See :ref:`latency-stats-document`
131
131
for details on this document.
132
132
133
133
Only present when the ``latencyStats: {}`` option is specified.
@@ -144,7 +144,7 @@ Definition
144
144
145
145
Only present when the ``storageStats`` option is specified.
146
146
147
- Returns an error if applied to a :doc:` view </core/views>` .
147
+ Returns an error if applied to a view.
148
148
149
149
* - ``count``
150
150
- The total number of documents in the collection. This data is
@@ -157,7 +157,7 @@ Definition
157
157
clusters.
158
158
159
159
Only present when the ``count: {}`` option is specified. Returns
160
- an error if applied to a :doc:` view </core/views>` .
160
+ an error if applied to a view.
161
161
162
162
* - ``queryExecStats``
163
163
- Statistics related to query execution for the collection.
@@ -306,7 +306,7 @@ See :ref:`collStats-output` for a reference on this document.
306
306
- :data:`collStats.indexSizes`
307
307
308
308
Performing ``$collStats`` with the ``storageStats`` option on a
309
- :doc:` view </core/views>` results in an error.
309
+ view results in an error.
310
310
311
311
.. _collstat-count:
312
312
Original file line number Diff line number Diff line change @@ -756,14 +756,14 @@ Restrictions
756
756
- An aggregation pipeline cannot use :pipeline:`$merge` to output to
757
757
a time series collection.
758
758
759
- * - | :doc:`View definition </core/ views>`
759
+ * - | :ref:`view definition <views-landing-page >`
760
760
| *Separate from materialized view*
761
761
762
- - :doc:`View definition </core/views>` cannot include the
763
- :pipeline:`$merge` stage. If the view definition includes nested
764
- pipeline (for example, the view definition includes
765
- :pipeline:`$facet ` stage), this :pipeline:`$merge` stage
766
- restriction applies to the nested pipelines as well.
762
+ - A view definition cannot include the :pipeline:`$merge` stage.
763
+ If the view definition includes nested pipeline (for example,
764
+ the view definition includes :pipeline:`$facet` stage), this
765
+ :pipeline:`$merge ` stage restriction applies to the nested
766
+ pipelines as well.
767
767
768
768
* - :pipeline:`$lookup` stage
769
769
Original file line number Diff line number Diff line change @@ -243,14 +243,13 @@ Restrictions
243
243
- An aggregation pipeline cannot use :pipeline:`$out` to output to
244
244
a time series collection.
245
245
246
- * - :doc:`View definition </core/ views>`
246
+ * - :ref:`view definition <views-landing-page >`
247
247
248
248
- The :pipeline:`$out` stage is not allowed as part of a
249
- :doc:`view definition </core/views>`. If the view definition
250
- includes nested pipeline (e.g. the view definition includes
251
- :pipeline:`$lookup` or :pipeline:`$facet` stage), this
252
- :pipeline:`$out` stage restriction applies to the nested
253
- pipelines as well.
249
+ view definition. If the view definition includes nested pipeline
250
+ (e.g. the view definition includes :pipeline:`$lookup` or
251
+ :pipeline:`$facet` stage), this :pipeline:`$out` stage
252
+ restriction applies to the nested pipelines as well.
254
253
255
254
* - :pipeline:`$lookup` stage
256
255
Original file line number Diff line number Diff line change @@ -115,6 +115,6 @@ each database:
115
115
.. data:: <database>.system.views
116
116
117
117
The :data:`<database>.system.views` collection contains
118
- information about each :doc :`view </core/ views>` in the database.
118
+ information about each :ref :`view <views-landing-page >` in the database.
119
119
120
120
.. include:: /includes/5.0-changes/no-direct-write-system-views.rst
Original file line number Diff line number Diff line change @@ -260,7 +260,7 @@ Aggregation
260
260
``$out`` and Views
261
261
``````````````````
262
262
263
- The :doc :`view </core/ views>` definition ``pipeline`` cannot include
263
+ The :ref :`view <views-landing-page >` definition ``pipeline`` cannot include
264
264
the :pipeline:`$out` stage. If you already have an existing view
265
265
that includes the :pipeline:`$out` stage, you can no longer create
266
266
new views from this existing view.
You can’t perform that action at this time.
0 commit comments