- Reference >
- JavaScript Methods >
- sh.enableBalancing()
sh.enableBalancing()¶
-
sh.
enableBalancing
(collection)¶ Parameters: - collection (string) – The name of a collection.
sh.enableBalancing()
enables the balancer for the specified sharded collection.