|
MongoClient::setReadPreferenceSet the read preference for this connection Description
public bool MongoClient::setReadPreference
( string
$read_preference
[, array $tags
] )Parameters
Return ValuesReturns Errors/ExceptionsEmits ExamplesExample #1 MongoClient::setReadPreference tag set array syntax example
<?php See Also
|