mongo.ReplicaSet.New(auto_reconnect, rw_timeout) - Returns a new Connection object, or nil and an error.
db,err = mongo.ReplicaSet.New(name, {hostAndPort1, ...})
connect() - Connect to a mongo replica set.
ok, err = db:connect()
The remaining methods are identical to those found in MongoConnection.
There was an error while loading. Please reload this page.