downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

MongoDB::__toString> <MongoDB::setProfilingLevel
[edit] Last updated: Fri, 25 May 2012

view this page in

MongoDB::setSlaveOkay

(PECL mongo >=1.1.0)

MongoDB::setSlaveOkayこのデータベースの slaveOkay の設定を変更する

説明

public bool MongoDB::setSlaveOkay ([ bool $ok = true ] )

読み込みのスレーブへの分散についての情報は、このマニュアルの 問い合わせの節 を参照ください。

パラメータ

ok

可能な限りの問い合わせをレプリカセットのセカンダリメンバに送信したいときに、この Mongo インスタンスを使います。

返り値

このインスタンスの、変更前の slaveOkay の値を返します。



add a note add a note User Contributed Notes MongoDB::setSlaveOkay
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites