Results of 1 - 10 of about 110 for coll (0.003 sec.)
- Execute write operations using the bulkWrite command 10057
- « MongoDB\Driver\Manager::executeBulkWrite MongoDB\Driver\Manager::executeCommand » PHP Manual MongoDB\Driver\Manager Execute write operations using the bulkWrite command 検索 MongoDB\Driver\Manager::executeBulkWriteCommand (mongodb >=2.1.0
... r more write operations of varying types (e.g. inserts, updates, and deletes). Each write operation may target a different collection. The default value for the "writeConcern" option will be inferred from an active transaction (indicated by the "sess ... <?php $manager = new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWriteCommand ; // Delete documents from both collections $bulk -> deleteMany ( 'db.coll_one' , []); $bulk -> deleteMany ( 'db.coll_two' , []); // Insert documents into two ... collections $bulk -> insertOne ( 'db.coll_one' , [ '_id' => 1 ]); $bulk -> insertOne ( 'db.coll_two' , [ '_id' => 2 ]); $bulk -> insertOne ( 'db.coll_two' , [ '_id' ...
-
https://man.mtool.work/php/8.3/mongodb-driver-manager.executebulkwritecommand.ht...
- Execute write operations using the bulkWrite command 10057
- « MongoDB\Driver\Manager::executeBulkWrite MongoDB\Driver\Manager::executeCommand » PHP Manual MongoDB\Driver\Manager Execute write operations using the bulkWrite command 検索 MongoDB\Driver\Manager::executeBulkWriteCommand (mongodb >=2.1.0
... r more write operations of varying types (e.g. inserts, updates, and deletes). Each write operation may target a different collection. The default value for the "writeConcern" option will be inferred from an active transaction (indicated by the "sess ... <?php $manager = new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWriteCommand ; // Delete documents from both collections $bulk -> deleteMany ( 'db.coll_one' , []); $bulk -> deleteMany ( 'db.coll_two' , []); // Insert documents into two ... collections $bulk -> insertOne ( 'db.coll_one' , [ '_id' => 1 ]); $bulk -> insertOne ( 'db.coll_two' , [ '_id' => 2 ]); $bulk -> insertOne ( 'db.coll_two' , [ '_id' ...
-
https://man.mtool.work/php/8.3/mongodb-driver-manager.executebulkwritecommand.ht...
- The MongoDB\Driver\BulkWriteCommand class 9892
- « MongoDB\Driver\BulkWrite::update MongoDB\Driver\BulkWriteCommand::__construct » PHP Manual MongoDB\Driver The MongoDB\Driver\BulkWriteCommand class 検索 The MongoDB\Driver\BulkWriteCommand class (mongodb >=2.1.0) はじめに MongoDB\Driver\B
... ulkWriteCommand collects one or more write operations that should be sent to the server using the » bulkWrite command introduced in MongoDB 8.0 ... ver\Manager::executeBulkWriteCommand() . Unlike MongoDB\Driver\BulkWrite , where all write operations must target the same collection, each write operation within MongoDB\Driver\BulkWriteCommand may target a different collection. Write operations may ... <?php $manager = new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWriteCommand ; // Delete documents from both collections $bulk -> deleteMany ( 'db.coll_one' , []); $bulk -> deleteMany ( 'db.coll_two' , []); // Insert documents into two ...
-
https://man.mtool.work/php/8.3/class.mongodb-driver-bulkwritecommand.html
- The MongoDB\Driver\BulkWriteCommand class 9892
- « MongoDB\Driver\BulkWrite::update MongoDB\Driver\BulkWriteCommand::__construct » PHP Manual MongoDB\Driver The MongoDB\Driver\BulkWriteCommand class 検索 The MongoDB\Driver\BulkWriteCommand class (mongodb >=2.1.0) はじめに MongoDB\Driver\B
... ulkWriteCommand collects one or more write operations that should be sent to the server using the » bulkWrite command introduced in MongoDB 8.0 ... ver\Manager::executeBulkWriteCommand() . Unlike MongoDB\Driver\BulkWrite , where all write operations must target the same collection, each write operation within MongoDB\Driver\BulkWriteCommand may target a different collection. Write operations may ... <?php $manager = new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWriteCommand ; // Delete documents from both collections $bulk -> deleteMany ( 'db.coll_one' , []); $bulk -> deleteMany ( 'db.coll_two' , []); // Insert documents into two ...
-
https://man.mtool.work/php/8.3/class.mongodb-driver-bulkwritecommand.html
- Create a new BulkWriteCommand 8318
- « MongoDB\Driver\BulkWriteCommand MongoDB\Driver\BulkWriteCommand::count » PHP Manual MongoDB\Driver\BulkWriteCommand Create a new BulkWriteCommand 検索 MongoDB\Driver\BulkWriteCommand::__construct (mongodb >=2.1.0) MongoDB\Driver\BulkWrite
... new MongoDB\Driver\BulkWriteCommand , which may be used to perform many insert, update, and delete operations on multiple collections in a single request using the » bulkWrite command introduced in MongoDB 8.0. This differs from MongoDB\Driver\BulkW ... rite , which is supported by all server versions but limited to a single collection. After all write operations have been added, this object may be executed with MongoDB\Driver\Manager::executeBulkWri ... <?php $manager = new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWriteCommand ; // Delete documents from both collections $bulk -> deleteMany ( 'db.coll_one' , []); $bulk -> deleteMany ( 'db.coll_two' , []); // Insert documents into two ...
-
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommand.construct.html
- Create a new BulkWriteCommand 8267
- « MongoDB\Driver\BulkWriteCommand MongoDB\Driver\BulkWriteCommand::count » PHP Manual MongoDB\Driver\BulkWriteCommand Create a new BulkWriteCommand 検索 MongoDB\Driver\BulkWriteCommand::__construct (mongodb >=2.1.0) MongoDB\Driver\BulkWrite
... new MongoDB\Driver\BulkWriteCommand , which may be used to perform many insert, update, and delete operations on multiple collections in a single request using the » bulkWrite command introduced in MongoDB 8.0. This differs from MongoDB\Driver\BulkW ... rite , which is supported by all server versions but limited to a single collection. After all write operations have been added, this object may be executed with MongoDB\Driver\Manager::executeBulkWri ... <?php $manager = new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWriteCommand ; // Delete documents from both collections $bulk -> deleteMany ( 'db.coll_one' , []); $bulk -> deleteMany ( 'db.coll_two' , []); // Insert documents into two ...
-
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommand.construct.html
- Returns the result of any successful write operations 8216
- « MongoDB\Driver\Exception\BulkWriteCommandException::getErrorReply MongoDB\Driver\Exception\BulkWriteCommandException::getWriteConcernErrors » PHP Manual MongoDB\Driver\Exception\BulkWriteCommandException Returns the result of any successf
... sful <?php $manager = new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWriteCommand ; $bulk -> deleteMany ( 'db.coll' , []); $bulk -> insertOne ( 'db.coll' , [ '_id' => 1 ]); $bulk -> insertOne ( 'db.coll' , [ '_id' => 1 ]); try { $result ... sful <?php $manager = new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWriteCommand ; $bulk -> deleteMany ( 'db.coll' , []); $bulk -> insertOne ( 'db.coll' , [ '_id' => 1 ]); $manager -> executeBulkWriteCommand ( $bulk ); $bulk = new Mongo ... DB\Driver\BulkWriteCommand ; $bulk -> insertOne ( 'db.coll' , [ '_id' => 1 ]); try { $result = $manager -> executeBulkWriteCommand ( $bulk ); } catch ( MongoDB\Driver\Exception\Bulk ...
-
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommandexception.getparti...
- Returns any write errors 8152
- « MongoDB\Driver\Exception\BulkWriteCommandException::getWriteConcernErrors MongoDB\Driver\Exception\CommandException » PHP Manual MongoDB\Driver\Exception\BulkWriteCommandException Returns any write errors 検索 MongoDB\Driver\Exception\Bul
... w MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWriteCommand ([ 'ordered' => false ]); $bulk -> deleteMany ( 'db.coll' , []); $bulk -> insertOne ( 'db.coll' , [ '_id' => 1 ]); $bulk -> insertOne ( 'db.coll' , [ '_id' => 1 ]); $bulk -> inser ... tOne ( 'db.coll' , [ '_id' => 1 ]); try { $result = $manager -> executeBulkWriteCommand ( $bulk ); } catch ( MongoDB\Driver\Exception\Bulk ... になります。 array(2) { [2]=> object(MongoDB\Driver\WriteError)#5 (4) { ["message"]=> string(78) "E11000 duplicate key error collection: db.coll index: _id_ dup key: { _id: 1 }" ["code"]=> int(11000) ["index"]=> int(2) ["info"]=> object(stdClass)#6 (0) ...
-
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommandexception.getwrite...
- Returns the result of any successful write operations 8152
- « MongoDB\Driver\Exception\BulkWriteCommandException::getErrorReply MongoDB\Driver\Exception\BulkWriteCommandException::getWriteConcernErrors » PHP Manual MongoDB\Driver\Exception\BulkWriteCommandException Returns the result of any successf
... sful <?php $manager = new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWriteCommand ; $bulk -> deleteMany ( 'db.coll' , []); $bulk -> insertOne ( 'db.coll' , [ '_id' => 1 ]); $bulk -> insertOne ( 'db.coll' , [ '_id' => 1 ]); try { $result ... sful <?php $manager = new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWriteCommand ; $bulk -> deleteMany ( 'db.coll' , []); $bulk -> insertOne ( 'db.coll' , [ '_id' => 1 ]); $manager -> executeBulkWriteCommand ( $bulk ); $bulk = new Mongo ... DB\Driver\BulkWriteCommand ; $bulk -> insertOne ( 'db.coll' , [ '_id' => 1 ]); try { $result = $manager -> executeBulkWriteCommand ( $bulk ); } catch ( MongoDB\Driver\Exception\Bulk ...
-
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommandexception.getparti...
- Returns any write errors 8152
- « MongoDB\Driver\Exception\BulkWriteCommandException::getWriteConcernErrors MongoDB\Driver\Exception\CommandException » PHP Manual MongoDB\Driver\Exception\BulkWriteCommandException Returns any write errors 検索 MongoDB\Driver\Exception\Bul
... w MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWriteCommand ([ 'ordered' => false ]); $bulk -> deleteMany ( 'db.coll' , []); $bulk -> insertOne ( 'db.coll' , [ '_id' => 1 ]); $bulk -> insertOne ( 'db.coll' , [ '_id' => 1 ]); $bulk -> inser ... tOne ( 'db.coll' , [ '_id' => 1 ]); try { $result = $manager -> executeBulkWriteCommand ( $bulk ); } catch ( MongoDB\Driver\Exception\Bulk ... になります。 array(2) { [2]=> object(MongoDB\Driver\WriteError)#5 (4) { ["message"]=> string(78) "E11000 duplicate key error collection: db.coll index: _id_ dup key: { _id: 1 }" ["code"]=> int(11000) ["index"]=> int(2) ["info"]=> object(stdClass)#6 (0) ...
-
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommandexception.getwrite...