PHP » GoLang |
login |
register |
about
|
GoLang MongoDB::setSlaveOkay
request it (348)
GoLang replacement for PHP's MongoDB::setSlaveOkay
[edit | history]
MongoDB::setSlaveOkay(PECL mongo >=1.1.0) MongoDB::setSlaveOkay — Change slaveOkay setting for this database Description
public bool MongoDB::setSlaveOkay
([ bool
$ok = TRUE
] )See the query section of this manual for information on distributing reads to secondaries. Parameters
Return ValuesReturns the former value of slaveOkay for this instance. Changelog
See Also
|
more
Recently updated
more
Most requested
more
Last requests
|