Skip to content

DOCSP-17199 collStats command does not error (#6172) #6174

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 17, 2021
Merged
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
14 changes: 2 additions & 12 deletions source/reference/command/collStats.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,6 @@ Definition
- string

- The name of the target collection.

If the collection does not exist, :dbcommand:`collStats` returns
an error message.



* - ``scale``

Expand All @@ -71,10 +66,6 @@ Definition
The scale factor rounds the affected size values to whole numbers.

.. include:: /includes/extracts/4.2-changes-stats-scaleFactor.rst





.. note::

Expand Down Expand Up @@ -137,7 +128,6 @@ collection and the storage engine, the output fields may vary.

.. code-block:: javascript


{
"ns" : <string>,
"size" : <number>,
Expand Down Expand Up @@ -527,8 +517,8 @@ Output

.. data:: collStats.inMemory

:data:`~collStats.inMemory` only appears when using the
in-memory storage engine.
:data:`~collStats.inMemory` only appears when using the in-memory
storage engine.

This document contains data reported
directly by the storage engine and other data for internal
Expand Down