Skip to content

Commit dbf0bee

Browse files
author
Sam Kleinman
committed
minor: adding new javascript methods to the quick reference
1 parent 9b41d04 commit dbf0bee

File tree

1 file changed

+19
-7
lines changed

1 file changed

+19
-7
lines changed

source/reference/javascript.txt

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,16 +81,12 @@ Database Methods
8181
- :method:`db.getName()`
8282
- :method:`db.getProfilingLevel()`
8383
- :method:`db.getProfilingStatus()`
84-
- :method:`db.getReplicationInfo()`
8584
- :method:`db.getSiblingDB()`
8685
- :method:`db.killOp()`
8786
- :method:`db.listCommands()`
8887
- :method:`db.loadServerScripts()`
8988
- :method:`db.logout()`
9089
- :method:`db.printCollectionStats()`
91-
- :method:`db.printReplicationInfo()`
92-
- :method:`db.printShardingStatus()`
93-
- :method:`db.printSlaveReplicationInfo()`
9490
- :method:`db.removeUser()`
9591
- :method:`db.repairDatabase()`
9692
- :method:`db.runCommand()`
@@ -100,7 +96,6 @@ Database Methods
10096
- :method:`db.shutdownServer()`
10197
- :method:`db.stats()`
10298
- :method:`db.version()`
103-
- :method:`mongo.setSlaveOk()`
10499

105100
Collection Methods
106101
~~~~~~~~~~~~~~~~~~
@@ -141,35 +136,52 @@ Sharding Methods
141136
.. seealso:: The ":doc:`/core/sharded-clusters`" page for more information on
142137
the sharding technology and using MongoDB's :term:`sharded clusters
143138
<sharded cluster>`.
144-
139+
- :method:`db.printShardingStatus()`
145140
- :method:`sh.addShard()`
146141
- :method:`sh.addShardTag()`
147142
- :method:`sh.addTagRange()`
143+
- :method:`sh._adminCommand()`
144+
- :method:`sh._checkMongos()`
145+
- :method:`sh._checkFullName()`
146+
- :method:`sh.disableBalancing()`
147+
- :method:`sh.enableBalancing()`
148148
- :method:`sh.enableSharding()`
149+
- :method:`sh.getBalancerHost()`
149150
- :method:`sh.help()`
151+
- :method:`sh._lastMigration()`
150152
- :method:`sh.isBalancerRunning()`
151153
- :method:`sh.moveChunk()`
152154
- :method:`sh.removeShardTag()`
153155
- :method:`sh.setBalancerState()`
154156
- :method:`sh.shardCollection()`
155157
- :method:`sh.splitAt()`
156158
- :method:`sh.splitFind()`
159+
- :method:`sh.startBalancer()`
157160
- :method:`sh.status()`
161+
- :method:`sh.stopBalancer()`
162+
- :method:`sh.waitForBalancerOff()`
163+
- :method:`sh.waitForBalancer()`
164+
- :method:`sh.waitForDLock()`
165+
- :method:`sh.waitForPingChange()`
158166

159167
.. _replica-set-functions:
160168

161169
Replica Set Methods
162170
~~~~~~~~~~~~~~~~~~~
163171

164172
.. This list of Replica Set Methods also exists in the
165-
replica-commands()` document. If updated here, it also must be
173+
replica-commands` document. If updated here, it also must be
166174
updated there, and vice versa. We might want to consider an include
167175
for the whole list.
168176

169177
.. seealso:: :doc:`/core/replication` for more information regarding
170178
replication.
171179

180+
- :method:`db.getReplicationInfo()`
172181
- :method:`db.isMaster()`
182+
- :method:`db.printReplicationInfo()`
183+
- :method:`db.printSlaveReplicationInfo()`
184+
- :method:`mongo.setSlaveOk()`
173185
- :method:`rs.add()`
174186
- :method:`rs.addArb()`
175187
- :method:`rs.conf()`

0 commit comments

Comments
 (0)