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