From 430a1443a5c9b48dbb4d19e6c46b065fdf6c6f79 Mon Sep 17 00:00:00 2001 From: Bob Grabar Date: Tue, 7 Aug 2012 17:23:14 -0400 Subject: [PATCH] change to description of cloneCollection command --- source/reference/commands.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/reference/commands.txt b/source/reference/commands.txt index f6be06e8ca1..bcde9672f6c 100644 --- a/source/reference/commands.txt +++ b/source/reference/commands.txt @@ -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