Skip to content
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
8 changes: 4 additions & 4 deletions source/reference/command/compact.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ compact

.. versionadded:: v2.2

The following example runs the :dbcommand:`compact`
command with the ``paddingBytes`` set to ``100`` bytes and the
Using the following command, you can use the compact command with
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

double use.

the ``paddingBytes`` option set to ``100`` bytes and the
``paddingFactor`` set to ``1.1``.

.. code-block:: javascript
.. code-block:: javascript

db.runCommand ( { compact: 'collection name', paddingBytes: 100, paddingFactor: 1.1 } )
db.runCommand ( { compact: 'collection name', paddingBytes: 100, paddingFactor: 1.1 } )

.. warning::

Expand Down