Mongo.result
shardCollection (
Mongo.mongodb
 
m
, 
string
 
collection
, 
 
keyOpt
, 
bool
 
unique)
Enable sharding on a collection, giving the optional sharding key.
The bool is the unique flag.Example:
shardCollection(m, collection, keyOpt, unique)

Comments

The browser you use is not supported by this application, probably because it lacks some critical features.
For a better experience, please consider using this application with a supported browser.