@@ -468,7 +468,7 @@ timestamp) on the events collection. Consider the following:
468
468
469
469
.. code-block:: pycon
470
470
471
- >>> db.command('shardcollection ','events', {
471
+ >>> db.command('shardCollection ','events', {
472
472
... 'key' : { 'userid': 1, 'ts' : 1} } )
473
473
{ "collectionsharded": "events", "ok" : 1 }
474
474
@@ -477,13 +477,13 @@ issue the following group of shard operations in the Python/PyMongo shell:
477
477
478
478
.. code-block:: python
479
479
480
- db.command('shardcollection ', 'stats.daily', {
480
+ db.command('shardCollection ', 'stats.daily', {
481
481
'key': { '_id': 1 } })
482
- db.command('shardcollection ', 'stats.weekly', {
482
+ db.command('shardCollection ', 'stats.weekly', {
483
483
'key': { '_id': 1 } })
484
- db.command('shardcollection ', 'stats.monthly', {
484
+ db.command('shardCollection ', 'stats.monthly', {
485
485
'key': { '_id': 1 } })
486
- db.command('shardcollection ', 'stats.yearly', {
486
+ db.command('shardCollection ', 'stats.yearly', {
487
487
'key': { '_id': 1 } })
488
488
489
489
You should also update the ``h_aggregate`` map-reduce wrapper to
0 commit comments