|
MongoCursor::setReadPreferenceSet the read preference for this query Description
public MongoCursor MongoCursor::setReadPreference
( string
$read_preference
[, array $tags
] )Parameters
Return ValuesReturns this cursor. Errors/ExceptionsEmits ExamplesExample #1 MongoCursor::setReadPreference tag set array syntaxexample
<?php See Also
|