|
MongoClient::setReadPreferenceSet the read preference for this connection This extension that defines this method is deprecated. Instead, the MongoDB extension should be used. There is no equivalent for this method in the new extension. Beschreibung
public bool MongoClient::setReadPreference
( string
$read_preference
[, array $tags
] )Parameter-Liste
RückgabewerteReturns Fehler/ExceptionsEmits BeispieleBeispiel #1 MongoClient::setReadPreference tag set array syntax example
<?phpSiehe auch
|