@@ -24,7 +24,7 @@ use the left navigation to:
24
24
- Drop databases and collections.
25
25
26
26
.. figure:: /images/dbs-colls-docs.png
27
- :figwidth: 300px
27
+ :figwidth: 270px
28
28
:alt: Image showing deployment navigation
29
29
30
30
.. note::
@@ -40,7 +40,7 @@ deployment. Click a database to view the collections it contains.
40
40
View Collection Documents and Schema
41
41
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
42
42
43
- Click a collection to view its documents and schema .
43
+ Click a collection to view its documents, schema, and indexes .
44
44
45
45
Documents
46
46
``````````
@@ -58,7 +58,9 @@ Alternatively, right-click a collection and click
58
58
in an array.
59
59
60
60
Opening collection documents provides a **read-only** view of your data.
61
- To modify your data using |vsce|, use a JavaScript Playground.
61
+ To modify your data using |vsce|, use a :ref:`JavaScript Playground
62
+ <vsce-crud>` or launch a shell by right-clicking your active deployment
63
+ in the MongoDB view in the Activity Bar.
62
64
63
65
Schema
64
66
``````
@@ -75,6 +77,24 @@ appear in that collection's documents. If a field exists in all
75
77
documents and its type is consistent throughout the collection, |vsce|
76
78
displays an icon indicating that field's data type.
77
79
80
+ Indexes
81
+ ```````
82
+
83
+ Your collections's indexes are listed under the :guilabel:`Indexes` heading.
84
+ When you expand an index, each index key appears with an icon designating
85
+ its type. Index key types include:
86
+
87
+ - Ascending
88
+ - Descending
89
+ - Geospatial (2d, 2dsphere, geoHaystack)
90
+ - Text
91
+ - Hashed
92
+
93
+ .. seealso::
94
+
95
+ For more information about MongoDB indexes, see the documentation in
96
+ the :manual:`server manual </indexes>`.
97
+
78
98
Create a New Database
79
99
~~~~~~~~~~~~~~~~~~~~~
80
100
0 commit comments