« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 24 for readConcern (0.001 sec.)
MongoDB\Driver\ReadConcern::__construct — Create a new ReadConcern | PHP 8.3 11809
MongoDB\Driver\ReadConcern::__construct (mongodb >=1.0.0) MongoDB\Driver\ReadConcern::__construct — Create a new ReadConcern 説明 final public function MongoDB\Driver\ReadConcern::__construct ( ? string $level = null ) Constructs a new Mong ... oDB\Driver\ReadConcern , which is an immutable value object. パラメータ level The » read concern level . You may use, but are not limited to, one ... . エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 例 例1 MongoDB\Driver\ReadConcern::__construct() example <?php /* Unspecified read isolation level (uses the server's default behavior) */ $rc = new MongoDB ... \Driver\ReadConcern (); /* Request read isolation from a single replica set node */ $rc = new MongoDB\Driver\ReadConcern ( MongoDB\Driver\Read ...
https://man.mtool.work/php/8.3/mongodb-driver-readconcern.construct.html
MongoDB\Driver\ReadConcern::getLevel — Returns the ReadConcern's "level" option... 11809
MongoDB\Driver\ReadConcern::getLevel (mongodb >=1.0.0) MongoDB\Driver\ReadConcern::getLevel — Returns the ReadConcern's "level" option 説明 final public function MongoDB\Driver\ReadConcern::getLevel (): ? string パラメータ この関数にはパラメ ... ータはありません。 戻り値 Returns the ReadConcern's "level" option. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 例 例 ... 1 MongoDB\Driver\ReadConcern::getLevel() example <?php $rc = new MongoDB\Driver\ReadConcern (); var_dump ( $rc -> getLevel ()); $rc = new MongoDB\Drive ... r\ReadConcern ( MongoDB\Driver\ReadConcern :: LOCAL ); var_dump ( $rc -> getLevel ()); $rc = new MongoDB\Driver\ReadConcern ( MongoDB\Dr ...
https://man.mtool.work/php/8.3/mongodb-driver-readconcern.getlevel.html
The MongoDB\Driver\ReadConcern class | PHP 8.3 11609
The MongoDB\Driver\ReadConcern class (mongodb >=1.1.0) はじめに MongoDB\Driver\ReadConcern controls the level of isolation for read operations for replica sets and replica set shards. This option requires MongoDB 3.2 or later. クラス概要 fi ... nal class MongoDB\Driver\ReadConcern implements MongoDB\BSON\Serializable , Serializable { /* プロパティ */ public readonly ? string $ level ; /* 定数 */ const ... level = null ) final public function getLevel (): ? string final public function isDefault (): bool } プロパティ level The read concern level. null if no level was specified. 定義済み定数 MongoDB\Driver\ReadConcern::AVAILABLE Default for reads against secon ... harded collections (including collections in a standalone deployment or a replica set deployment), "local" and "available" read concerns behave identically. For a sharded cluster, "available" read concern provides greater tolerance for partitions since it d ...
https://man.mtool.work/php/8.3/class.mongodb-driver-readconcern.html
MongoDB\Driver\ReadConcern::bsonSerialize — Returns an object for BSON serializ... 10858
MongoDB\Driver\ReadConcern::bsonSerialize (mongodb >=1.2.0) MongoDB\Driver\ReadConcern::bsonSerialize — Returns an object for BSON serialization 説明 final public function MongoDB\Driver\ReadConcern::bsonSerialize (): stdClass パラメータ こ ... の関数にはパラメータはありません。 戻り値 Returns an object for serializing the ReadConcern as BSON. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 例 例1 MongoDB ... \Driver\ReadConcern::bsonSerialize() with empty read concern <?php $rc = new MongoDB\Driver\ReadConcern ; var_dump ( $rc -> bsonSerialize ()); ... laxedExtendedJSON (); ?> 上の例の出力は、 たとえば以下のようになります。 object(stdClass)#2 (0) { } { } 例2 MongoDB\Driver\ReadConcern::bsonSerialize() with local read concern <?php $rc = new MongoDB\Driver\ReadConcern ( MongoDB\Driver\ReadConcern :: LOCAL ...
https://man.mtool.work/php/8.3/mongodb-driver-readconcern.bsonserialize.html
MongoDB\Driver\Manager::getReadConcern — Return the ReadConcern for the Manager... 9891
MongoDB\Driver\Manager::getReadConcern (mongodb >=1.1.0) MongoDB\Driver\Manager::getReadConcern — Return the ReadConcern for the Manager 説明 final public function MongoDB\Driver\Manager::getReadConcern (): MongoDB\Driver\ReadConcern Return ... s the MongoDB\Driver\ReadConcern for the Manager, which is derived from its URI options. This is the default read concern for queries and commands executed ... on the Manager. パラメータ この関数にはパラメータはありません。 戻り値 The MongoDB\Driver\ReadConcern for the Manager. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 例 例1 ... MongoDB\Driver\Manager::getReadConcern() example <?php $manager = new MongoDB\Driver\Manager ( 'mongodb://localhost:27017' ); var_dump ( $manager -> getReadConce ...
https://man.mtool.work/php/8.3/mongodb-driver-manager.getreadconcern.html
MongoDB\Driver\ReadConcern::isDefault — Checks if this is the default read conc... 9891
MongoDB\Driver\ReadConcern::isDefault (mongodb >=1.3.0) MongoDB\Driver\ReadConcern::isDefault — Checks if this is the default read concern 説明 final public function MongoDB\Driver\ReadConcern::isDefault (): bool Returns whether this is the ... default read concern (i.e. no options are specified). This method is primarily intended to be used in conjunction with MongoDB\Driver\Manager: ... :getReadConcern() to determine whether the Manager has been constructed without any read concern options. The driver will not include a de ... fault read concern in its read operations (e.g. MongoDB\Driver\Manager::executeQuery() ) in order to allow the server to apply its own defau ...
https://man.mtool.work/php/8.3/mongodb-driver-readconcern.isdefault.html
MongoDB\Driver\Manager::executeReadCommand — Execute a database command that re... 8440
MongoDB\Driver\Manager::executeReadCommand (mongodb >=1.4.0) MongoDB\Driver\Manager::executeReadCommand — Execute a database command that reads 説明 final public function MongoDB\Driver\Manager::executeReadCommand ( string $db , MongoDB\Dri ... d will apply logic that is specific to commands that read (e.g. » distinct ). Default values for the "readPreference" and "readConcern" options will be inferred from an active transaction (indicated by the "session" option), followed by the connection URI . ... to execute the command. command ( MongoDB\Driver\Command ) The command to execute. options options Option Type Description readConcern MongoDB\Driver\ReadConcern A read concern to apply to the operation. This option is available in MongoDB 3.2+ and will res ... associate with the operation. 警告 If you are using a "session" which has a transaction in progress, you cannot specify a "readConcern" or "writeConcern" option. This will result in an MongoDB\Driver\Exception\InvalidArgumentException being thrown. Instead, ...
https://man.mtool.work/php/8.3/mongodb-driver-manager.executereadcommand.html
MongoDB\Driver\Manager::executeReadWriteCommand — Execute a database command th... 8406
MongoDB\Driver\Manager::executeReadWriteCommand (mongodb >=1.4.0) MongoDB\Driver\Manager::executeReadWriteCommand — Execute a database command that reads and writes 説明 final public function MongoDB\Driver\Manager::executeReadWriteCommand ... This method will apply logic that is specific to commands that read and write (e.g. » aggregate ). Default values for the "readConcern" and "writeConcern" options will be inferred from an active transaction (indicated by the "session" option), followed by t ... to execute the command. command ( MongoDB\Driver\Command ) The command to execute. options options Option Type Description readConcern MongoDB\Driver\ReadConcern A read concern to apply to the operation. This option is available in MongoDB 3.2+ and will res ... rn to apply to the operation. 警告 If you are using a "session" which has a transaction in progress, you cannot specify a "readConcern" or "writeConcern" option. This will result in an MongoDB\Driver\Exception\InvalidArgumentException being thrown. Instead, ...
https://man.mtool.work/php/8.3/mongodb-driver-manager.executereadwritecommand.ht...
MongoDB\Driver\Server::executeReadCommand — Execute a database command that rea... 8373
MongoDB\Driver\Server::executeReadCommand (mongodb >=1.4.0) MongoDB\Driver\Server::executeReadCommand — Execute a database command that reads on this server 説明 final public function MongoDB\Driver\Server::executeReadCommand ( string $db , ... d will apply logic that is specific to commands that read (e.g. » distinct ). Default values for the "readPreference" and "readConcern" options will be inferred from an active transaction (indicated by the "session" option), followed by the connection URI . ... to execute the command. command ( MongoDB\Driver\Command ) The command to execute. options options Option Type Description readConcern MongoDB\Driver\ReadConcern A read concern to apply to the operation. This option is available in MongoDB 3.2+ and will res ... associate with the operation. 警告 If you are using a "session" which has a transaction in progress, you cannot specify a "readConcern" or "writeConcern" option. This will result in an MongoDB\Driver\Exception\InvalidArgumentException being thrown. Instead, ...
https://man.mtool.work/php/8.3/mongodb-driver-server.executereadcommand.html
MongoDB\Driver\Server::executeReadWriteCommand — Execute a database command tha... 8323
MongoDB\Driver\Server::executeReadWriteCommand (mongodb >=1.4.0) MongoDB\Driver\Server::executeReadWriteCommand — Execute a database command that reads and writes on this server 説明 final public function MongoDB\Driver\Server::executeReadW ... This method will apply logic that is specific to commands that read and write (e.g. » aggregate ). Default values for the "readConcern" and "writeConcern" options will be inferred from an active transaction (indicated by the "session" option), followed by t ... to execute the command. command ( MongoDB\Driver\Command ) The command to execute. options options Option Type Description readConcern MongoDB\Driver\ReadConcern A read concern to apply to the operation. This option is available in MongoDB 3.2+ and will res ... rn to apply to the operation. 警告 If you are using a "session" which has a transaction in progress, you cannot specify a "readConcern" or "writeConcern" option. This will result in an MongoDB\Driver\Exception\InvalidArgumentException being thrown. Instead, ...
https://man.mtool.work/php/8.3/mongodb-driver-server.executereadwritecommand.htm...
PREV 1 2 3 NEXT