Skip to content

Commit 430a144

Browse files
author
Bob Grabar
committed
change to description of cloneCollection command
1 parent de55b0d commit 430a144

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/reference/commands.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1048,9 +1048,9 @@ Collections
10481048

10491049
.. code-block:: javascript
10501050

1051-
{ cloneCollection: "app.users", from: "db.example.net:27017", query: { active: true }, copyIndexes: false }
1051+
{ cloneCollection: "users", from: "db.example.net:27017", query: { active: true }, copyIndexes: false }
10521052

1053-
This operation copies the "users" collection from the "app"
1053+
This operation copies the "users" collection from the current
10541054
database on the server at ``db.example.net``. The operation only
10551055
copies documents that satisfy the query ``{ active: true }`` and
10561056
does not copy indexes. :dbcommand:`cloneCollection` copies indexes

0 commit comments

Comments
 (0)