documentation updates to replace depricated options with current ones
This commit is contained in:
parent
a2817247ac
commit
d8655929f5
|
@ -70,10 +70,10 @@ module Mongo
|
|||
# ReplSetConnection.new(['localhost', 30000], ['localhost', 30001])
|
||||
#
|
||||
# @example Connect to a replica set providing two seed nodes and ensuring a connection to the replica set named 'prod':
|
||||
# ReplSetConnection.new(['localhost', 30000], ['localhost', 30001], :rs_name => 'prod')
|
||||
# ReplSetConnection.new(['localhost', 30000], ['localhost', 30001], :name => 'prod')
|
||||
#
|
||||
# @example Connect to a replica set providing two seed nodes and allowing reads from a secondary node:
|
||||
# ReplSetConnection.new(['localhost', 30000], ['localhost', 30001], :read_secondary => true)
|
||||
# ReplSetConnection.new(['localhost', 30000], ['localhost', 30001], :read => :secondary)
|
||||
#
|
||||
# @see http://api.mongodb.org/ruby/current/file.REPLICA_SETS.html Replica sets in Ruby
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue