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