MongoDB
PHP Manual

MongoDB::getSlaveOkay

(PECL mongo >=1.1.0)

MongoDB::getSlaveOkayGet slaveOkay setting for this database

说明

public bool MongoDB::getSlaveOkay ( void )

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

参数

此函数没有参数。

返回值

Returns the value of slaveOkay for this instance.


MongoDB
PHP Manual