Results of 1 - 10 of about 118 for Operations (0.006 sec.)
- The MongoDB\Driver\BulkWrite class | PHP 8.3 11525
- The MongoDB\Driver\BulkWrite class (mongodb >=1.0.0) はじめに The MongoDB\Driver\BulkWrite collects one or more write operations that should be sent to the server. After adding any number of insert, update, and delete operations, the collec
... tion may be executed via MongoDB\Driver\Manager::executeBulkWrite() . Write operations may either be ordered (default) or unordered. Ordered write operations are sent to the server, in the order provided, for ... serial execution. If a write fails, any remaining operations will be aborted. Unordered operations are sent to the server in an arbitrary order where they may be executed in parallel. ... Any errors that occur are reported after all operations have been attempted. クラス概要 final class MongoDB\Driver\BulkWrite implements Countable { /* メソッド */ public function ...
-
https://man.mtool.work/php/8.3/class.mongodb-driver-bulkwrite.html
- The MongoDB\Driver\BulkWriteCommand class | PHP 8.3 11375
- The MongoDB\Driver\BulkWriteCommand class (mongodb >=2.1.0) はじめに MongoDB\Driver\BulkWriteCommand collects one or more write operations that should be sent to the server using the » bulkWrite command introduced in MongoDB 8.0. After addi
... ng any number of insert, update, and delete operations, the command may be executed via MongoDB\Driver\Manager::executeBulkWriteCommand() . Unlike MongoDB\Driver\BulkWrite , whe ... re all write operations must target the same collection, each write operation within MongoDB\Driver\BulkWriteCommand may target a different collec ... tion. Write operations may either be ordered (default) or unordered. Ordered write operations are sent to the server, in the order provided, for ...
-
https://man.mtool.work/php/8.3/class.mongodb-driver-bulkwritecommand.html
- MongoDB\Driver\Server::executeBulkWrite — Execute one or more write operations ... 9516
- MongoDB\Driver\Server::executeBulkWrite (mongodb >=1.0.0) MongoDB\Driver\Server::executeBulkWrite — Execute one or more write operations on this server 説明 final public function MongoDB\Driver\Server::executeBulkWrite ( string $namespace ,
... MongoDB\Driver\BulkWrite $bulk , ? array $options = null ): MongoDB\Driver\WriteResult Executes one or more write operations on this server. A MongoDB\Driver\BulkWrite can be constructed with one or more write operations of varying types (e.g. upd ... ates, deletes, and inserts). The driver will attempt to send operations of the same type to the server in as few requests as possible to optimize round trips. The default value for the "writeCon ... sult on success. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException if bulk does not contain any write operations. Throws MongoDB\Driver\Exception\InvalidArgumentException if bulk has already been executed. MongoDB\Driver\BulkWrite obje ...
-
https://man.mtool.work/php/8.3/mongodb-driver-server.executebulkwrite.html
- MongoDB\Driver\ReadPreference::__construct — Create a new ReadPreference | PHP ... 9442
- 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 =
... \ReadPreference , which is an immutable value object. パラメータ mode Read preference mode Value Description "primary" All operations read from the current replica set primary. This is the default read preference for MongoDB. "primaryPreferred" In most sit ... uations, operations read from the primary but if it is unavailable, operations read from secondary members. "secondary" All operations read fr ... om the secondary members of the replica set. "secondaryPreferred" In most situations, operations read from secondary members but if no secondary members are available, operations read from the primary. "nearest" Operati ...
-
https://man.mtool.work/php/8.3/mongodb-driver-readpreference.construct.html
- The MongoDB\Driver\ReadConcern class | PHP 8.3 9292
- 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
... , MongoDB will not wait for w: "majority" writes to be durable before acknowledging the writes. As such, "majority" write operations could possibly roll back in the event of a loss of a replica set member. You can specify linearizable read concern for rea ... d operations on the primary only. Linearizable read concern guarantees only apply if read operations specify a query filter that unique ... ::SNAPSHOT Read concern "snapshot" is available for multi-document transactions, and starting in MongoDB 5.0, certain read operations outside of multi-document transactions. If the transaction is not part of a causally consistent session, upon transaction ...
-
https://man.mtool.work/php/8.3/class.mongodb-driver-readconcern.html
- MongoDB\Driver\Manager::executeBulkWriteCommand — Execute write operations usin... 9292
- MongoDB\Driver\Manager::executeBulkWriteCommand (mongodb >=2.1.0) MongoDB\Driver\Manager::executeBulkWriteCommand — Execute write operations using the bulkWrite command 説明 final public function MongoDB\Driver\Manager::executeBulkWriteComm
... river\BulkWriteCommand $bulk , ? array $options = null ): MongoDB\Driver\BulkWriteCommandResult Executes one or more write operations on the primary server using the » bulkWrite command introduced in MongoDB 8.0. A MongoDB\Driver\BulkWriteCommand can be co ... nstructed with one or more write operations of varying types (e.g. inserts, updates, and deletes). Each write operation may target a different collection. The default ... sult on success. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException if bulk does not contain any write operations. Throws MongoDB\Driver\Exception\InvalidArgumentException if bulk has already been executed. MongoDB\Driver\BulkWriteComma ...
-
https://man.mtool.work/php/8.3/mongodb-driver-manager.executebulkwritecommand.ht...
- MongoDB\Driver\BulkWrite::count — Count number of write operations in the bulk ... 9217
- MongoDB\Driver\BulkWrite::count (mongodb >=1.0.0) MongoDB\Driver\BulkWrite::count — Count number of write operations in the bulk 説明 public function MongoDB\Driver\BulkWrite::count (): int Returns the number of write operations added to th
... e MongoDB\Driver\BulkWrite object. パラメータ この関数にはパラメータはありません。 戻り値 Returns number of write operations added to the MongoDB\Driver\BulkWrite object. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on ar ... gument parsing errors. 変更履歴 バージョン 説明 PECL mongodb 1.2.0 Returns the number of write operations added to the MongoDB\Driver\BulkWrite object. Earlier versions returned the expected number of client-to-server roundtrips ... required to execute all write operations. 例 例1 MongoDB\Driver\BulkWrite::count() example <?php $bulk = new MongoDB\Driver\BulkWrite ; $bulk -> insert ([ '_id' => ...
-
https://man.mtool.work/php/8.3/mongodb-driver-bulkwrite.count.html
- The MongoDB\Driver\ReadPreference class | PHP 8.3 8781
- 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 ?
... perty is deprecated as hedged reads are deprecated in MongoDB 8.0. 定義済み定数 MongoDB\Driver\ReadPreference::PRIMARY All operations read from the current replica set primary. This is the default read preference for MongoDB. MongoDB\Driver\ReadPreference: ... :PRIMARY_PREFERRED In most situations, operations read from the primary but if it is unavailable, operations read from secondary members. MongoDB\Driver\ReadPreference::SEC ... ONDARY All operations read from the secondary members of the replica set. MongoDB\Driver\ReadPreference::SECONDARY_PREFERRED In most situations, ...
-
https://man.mtool.work/php/8.3/class.mongodb-driver-readpreference.html
- MongoDB\Driver\Server::executeBulkWriteCommand — Execute write operations on th... 8781
- MongoDB\Driver\Server::executeBulkWriteCommand (mongodb >=2.1.0) MongoDB\Driver\Server::executeBulkWriteCommand — Execute write operations on this server using the bulkWrite command 説明 final public function MongoDB\Driver\Server::executeB
... river\BulkWriteCommand $bulk , ? array $options = null ): MongoDB\Driver\BulkWriteCommandResult Executes one or more write operations on this server using the » bulkWrite command introduced in MongoDB 8.0. A MongoDB\Driver\BulkWriteCommand can be construct ... ed with one or more write operations of varying types (e.g. inserts, updates, and deletes). Each write operation may target a different collection. The default ... sult on success. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException if bulk does not contain any write operations. Throws MongoDB\Driver\Exception\InvalidArgumentException if bulk has already been executed. MongoDB\Driver\BulkWriteComma ...
-
https://man.mtool.work/php/8.3/mongodb-driver-server.executebulkwritecommand.htm...
- MongoDB\Driver\Manager::executeBulkWrite — Execute one or more write operations... 8406
- MongoDB\Driver\Manager::executeBulkWrite (mongodb >=1.0.0) MongoDB\Driver\Manager::executeBulkWrite — Execute one or more write operations 説明 final public function MongoDB\Driver\Manager::executeBulkWrite ( string $namespace , MongoDB\Dri
... ver\BulkWrite $bulk , ? array $options = null ): MongoDB\Driver\WriteResult Executes one or more write operations on the primary server. A MongoDB\Driver\BulkWrite can be constructed with one or more write operations of varying types (e ... .g. updates, deletes, and inserts). The driver will attempt to send operations of the same type to the server in as few requests as possible to optimize round trips. The default value for the "writeCon ... sult on success. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException if bulk does not contain any write operations. Throws MongoDB\Driver\Exception\InvalidArgumentException if bulk has already been executed. MongoDB\Driver\BulkWrite obje ...
-
https://man.mtool.work/php/8.3/mongodb-driver-manager.executebulkwrite.html