From c95d41f840ba30747257f5a672cecfd4aa8a2835 Mon Sep 17 00:00:00 2001 From: Nick Geoghegan Date: Fri, 19 Apr 2013 15:20:38 +0200 Subject: [PATCH] Changes collection to namespace Since you shard on the namespace - e.g. "mydb.users" - and not "users", this commit helps remove the ambiguity between namespace and collection for this page. --- source/reference/method/sh.shardCollection.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/reference/method/sh.shardCollection.txt b/source/reference/method/sh.shardCollection.txt index 47899d297a9..cdcdbf9bf71 100644 --- a/source/reference/method/sh.shardCollection.txt +++ b/source/reference/method/sh.shardCollection.txt @@ -4,9 +4,9 @@ sh.shardCollection() .. default-domain:: mongodb -.. method:: sh.shardCollection(collection,key,unique) +.. method:: sh.shardCollection(namespace,key,unique) - :param string collection: The namespace of the collection to shard. + :param string namespace: The :term:`namespace` of the collection to shard. :param document key: