Skip to content

change to description of cloneCollection command #109

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
Aug 8, 2012
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
4 changes: 2 additions & 2 deletions source/reference/commands.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1048,9 +1048,9 @@ Collections

.. code-block:: javascript

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

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