Skip to content

Commit 513b841

Browse files
authored
(DOCSP-11929) Quick index creation with playgrounds (mongodb#32)
* (DOCSP-11929) Quick index creation with playgrounds
1 parent caaac33 commit 513b841

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

source/databases-collections.txt

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ Databases and Collections
3737
When you expand an active connection, |vsce| shows the databases in that
3838
deployment. Click a database to view the collections it contains.
3939

40+
Click a collection to view its documents, schema, and indexes.
41+
4042
View Collection Documents and Schema
4143
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4244

43-
Click a collection to view its documents, schema, and indexes.
44-
4545
Documents
4646
``````````
4747

@@ -83,19 +83,26 @@ appear in that collection's documents. If a field exists in all
8383
documents and its type is consistent throughout the collection, |vsce|
8484
displays an icon indicating that field's data type.
8585

86-
Indexes
87-
```````
86+
Manage Indexes
87+
~~~~~~~~~~~~~~
8888

89-
Your collections's indexes are listed under the :guilabel:`Indexes` heading.
90-
When you expand an index, each index key appears with an icon designating
91-
its type. Index key types include:
89+
Your collections's indexes are listed under the :guilabel:`Indexes`
90+
heading. When you expand an index, each index key appears with an icon
91+
designating its type. Index key types include:
9292

9393
- Ascending
9494
- Descending
9595
- Geospatial (2d, 2dsphere, geoHaystack)
9696
- Text
9797
- Hashed
9898

99+
.. note::
100+
101+
You can open a :ref:`MongoDB Playground <vsce-crud>`
102+
pre-configured to create an index by hovering over the
103+
:guilabel:`Indexes` label in the navigation panel and clicking the
104+
:icon-fa4:`plus` icon that appears.
105+
99106
.. seealso::
100107

101108
For more information about MongoDB indexes, see the documentation in

0 commit comments

Comments
 (0)