minor: docs
This commit is contained in:
parent
6196c8728a
commit
70135a6b67
@ -45,8 +45,7 @@ module Mongo
|
|||||||
# You may specify whether connection to slave is permitted.
|
# You may specify whether connection to slave is permitted.
|
||||||
# In all cases, the default host is "localhost" and the default port is 27017.
|
# In all cases, the default host is "localhost" and the default port is 27017.
|
||||||
#
|
#
|
||||||
# To specify more than one host pair to be used as seeds in a replica set,
|
# If you're connecting to a replica set, you'll need to use ReplSetConnection.new instead.
|
||||||
# use Connection.multi.
|
|
||||||
#
|
#
|
||||||
# Once connected to a replica set, you can find out which nodes are primary, secondary, and
|
# Once connected to a replica set, you can find out which nodes are primary, secondary, and
|
||||||
# arbiters with the corresponding accessors: Connection#primary, Connection#secondaries, and
|
# arbiters with the corresponding accessors: Connection#primary, Connection#secondaries, and
|
||||||
|
Loading…
Reference in New Issue
Block a user