Mongo::getSlave
Mongo::poolDebug
Mongo
PHP Manual

# Mongo::getSlaveOkay

(PECL mongo >=1.1.0)

Mongo::getSlaveOkay — Get slaveOkay setting for this connection

### Opis

public bool Mongo::getSlaveOkay ( void )

See the query section of this manual for information on distributing reads to secondaries.

### Parametry

Ta funkcja nie posiada parametrów.

### Zwracane wartości

Returns the value of slaveOkay for this instance.

### Błędy/Wyjątki

Issues `E_DEPRECATED` warning

### Rejestr zmian

Wersja | Opis
--- | ---
1.2.11 | Emits `E_DEPRECATED` when used.

### Zobacz też:

- Read Preferences
- MongoClient::getReadPreference() - Get the read preference for this connection

Mongo::getSlave
Mongo::poolDebug
Mongo
PHP Manual