Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion source/includes/apiargs-dbcommand-listCollections-field.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,15 @@ description: |
Returning just the name and type (``view`` or ``collection``) does
not take collection-level locks whereas returning full collection
information locks each collection in the database.


The default value is ``false``.

.. note::

When ``nameOnly`` is ``true``, your ``filter`` expression can only
filter based on a collection's name and type. No other fields are
available.

.. versionadded:: 4.0

interface: dbcommand
Expand Down
2 changes: 1 addition & 1 deletion source/reference/command/listCollections.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Output
- Type
- Description

* - name
* - name
- String
- Name of the collection.

Expand Down