« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 3 of about 3 for primaryPreferred (0.001 sec.)
MongoDB\Driver\ReadPreference::getModeString — Returns the ReadPreference's "mo... 11868
MongoDB\Driver\ReadPreference::getModeString (mongodb >=1.7.0) MongoDB\Driver\ReadPreference::getModeString — Returns the ReadPreference's "mode" option 説明 final public function MongoDB\Driver\ReadPreference::getModeString (): string パラ ... rence :: NEAREST ); var_dump ( $rp -> getModeString ()); ?> 上の例の出力は以下となります。 string(7) "primary" string(16) "primaryPreferred" string(9) "secondary" string(18) "secondaryPreferred" string(7) "nearest" 参考 MongoDB\Driver\ReadPreference::getMode() - ...
https://man.mtool.work/php/8.3/mongodb-driver-readpreference.getmodestring.html
The MongoDB\Driver\ReadPreference class | PHP 8.3 8426
The MongoDB\Driver\ReadPreference class (mongodb >=1.0.0) はじめに クラス概要 final class MongoDB\Driver\ReadPreference implements MongoDB\BSON\Serializable , Serializable { /* プロパティ */ public readonly string $ mode ; public readonly ? ... sSeconds ; public readonly ? object $ hedge ; /* 定数 */ const string PRIMARY = primary ; const string PRIMARY_PREFERRED = primaryPreferred ; const string SECONDARY = secondary ; const string SECONDARY_PREFERRED = secondaryPreferred ; const string NEAREST = near ...
https://man.mtool.work/php/8.3/class.mongodb-driver-readpreference.html
MongoDB\Driver\ReadPreference::__construct — Create a new ReadPreference | PHP ... 7571
MongoDB\Driver\ReadPreference::__construct (mongodb >=1.0.0) MongoDB\Driver\ReadPreference::__construct — Create a new ReadPreference 説明 final public function MongoDB\Driver\ReadPreference::__construct ( string $mode , ? array $tagSets = ... tion "primary" All operations read from the current replica set primary. This is the default read preference for MongoDB. "primaryPreferred" In most situations, operations read from the primary but if it is unavailable, operations read from secondary members. "s ...
https://man.mtool.work/php/8.3/mongodb-driver-readpreference.construct.html
PREV 1 NEXT