« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 45 for insertOne (0.002 sec.)
Add an insertOne operation 12448
« MongoDB\Driver\BulkWriteCommand::deleteOne MongoDB\Driver\BulkWriteCommand::replaceOne » PHP Manual MongoDB\Driver\BulkWriteCommand Add an insertOne operation 検索 MongoDB\Driver\BulkWriteCommand::insertOne (mongodb >=2.1.0) MongoDB\Drive ... r\BulkWriteCommand::insertOne — Add an insertOne operation 説明 public function MongoDB\Driver\BulkWriteCommand::insertOne ( string $namespace , array | ... object $document ): mixed Add an insertOne operation to the MongoDB\Driver\BulkWriteCommand . The document will be inserted into the collection identified by namespa ... rows MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 例 例1 MongoDB\Driver\BulkWriteCommand::insertOne() example <?php $manager = new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWriteCommand ; $doc1 = [ 'x' => 1 ] ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommand.insertone.html
Add an insertOne operation 12448
« MongoDB\Driver\BulkWriteCommand::deleteOne MongoDB\Driver\BulkWriteCommand::replaceOne » PHP Manual MongoDB\Driver\BulkWriteCommand Add an insertOne operation 検索 MongoDB\Driver\BulkWriteCommand::insertOne (mongodb >=2.1.0) MongoDB\Drive ... r\BulkWriteCommand::insertOne — Add an insertOne operation 説明 public function MongoDB\Driver\BulkWriteCommand::insertOne ( string $namespace , array | ... object $document ): mixed Add an insertOne operation to the MongoDB\Driver\BulkWriteCommand . The document will be inserted into the collection identified by namespa ... rows MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 例 例1 MongoDB\Driver\BulkWriteCommand::insertOne() example <?php $manager = new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWriteCommand ; $doc1 = [ 'x' => 1 ] ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommand.insertone.html
The MongoDB\Driver\BulkWriteCommand class 10595
« 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 ... d public function deleteOne ( string $namespace , array | object $filter , ? array $options = null ): void public function insertOne ( string $namespace , array | object $document ): mixed public function replaceOne ( string $namespace , array | object $f ... teMany ( '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 ... new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWriteCommand ; $bulk -> deleteMany ( 'db.coll' , []); $bulk -> insertOne ( 'db.coll' , [ '_id' => 1 ]); $bulk -> insertOne ( 'db.coll' , [ '_id' => 2 ]); $bulk -> insertOne ( 'db.coll' , [ '_id' ...
https://man.mtool.work/php/8.3/class.mongodb-driver-bulkwritecommand.html
The MongoDB\Driver\BulkWriteCommand class 10595
« 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 ... d public function deleteOne ( string $namespace , array | object $filter , ? array $options = null ): void public function insertOne ( string $namespace , array | object $document ): mixed public function replaceOne ( string $namespace , array | object $f ... teMany ( '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 ... new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWriteCommand ; $bulk -> deleteMany ( 'db.coll' , []); $bulk -> insertOne ( 'db.coll' , [ '_id' => 1 ]); $bulk -> insertOne ( 'db.coll' , [ '_id' => 2 ]); $bulk -> insertOne ( 'db.coll' , [ '_id' ...
https://man.mtool.work/php/8.3/class.mongodb-driver-bulkwritecommand.html
Execute write operations using the bulkWrite command 9462
« 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 ... teMany ( '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 ... new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWriteCommand ; $bulk -> deleteMany ( 'db.coll' , []); $bulk -> insertOne ( 'db.coll' , [ '_id' => 1 ]); $bulk -> insertOne ( 'db.coll' , [ '_id' => 2 ]); $bulk -> insertOne ( 'db.coll' , [ '_id' ... => 1 ]); $bulk -> insertOne ( 'db.coll' , [ '_id' => 3 ]); try { $result = $manager -> executeBulkWriteCommand ( $bulk ); } catch ( MongoDB\Driver\Exc ...
https://man.mtool.work/php/8.3/mongodb-driver-manager.executebulkwritecommand.ht...
Execute write operations using the bulkWrite command 9462
« 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 ... teMany ( '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 ... new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWriteCommand ; $bulk -> deleteMany ( 'db.coll' , []); $bulk -> insertOne ( 'db.coll' , [ '_id' => 1 ]); $bulk -> insertOne ( 'db.coll' , [ '_id' => 2 ]); $bulk -> insertOne ( 'db.coll' , [ '_id' ... => 1 ]); $bulk -> insertOne ( 'db.coll' , [ '_id' => 3 ]); try { $result = $manager -> executeBulkWriteCommand ( $bulk ); } catch ( MongoDB\Driver\Exc ...
https://man.mtool.work/php/8.3/mongodb-driver-manager.executebulkwritecommand.ht...
Returns the result of any successful write operations 8957
« MongoDB\Driver\Exception\BulkWriteCommandException::getErrorReply MongoDB\Driver\Exception\BulkWriteCommandException::getWriteConcernErrors » PHP Manual MongoDB\Driver\Exception\BulkWriteCommandException Returns the result of any successf ... 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 = $manager -> executeBulkWr ... new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWriteCommand ; $bulk -> deleteMany ( 'db.coll' , []); $bulk -> insertOne ( 'db.coll' , [ '_id' => 1 ]); $manager -> executeBulkWriteCommand ( $bulk ); $bulk = new MongoDB\Driver\BulkWriteCommand ... ; $bulk -> insertOne ( 'db.coll' , [ '_id' => 1 ]); try { $result = $manager -> executeBulkWriteCommand ( $bulk ); } catch ( MongoDB\Driver\Exc ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommandexception.getparti...
Returns the result of any successful write operations 8896
« MongoDB\Driver\Exception\BulkWriteCommandException::getErrorReply MongoDB\Driver\Exception\BulkWriteCommandException::getWriteConcernErrors » PHP Manual MongoDB\Driver\Exception\BulkWriteCommandException Returns the result of any successf ... 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 = $manager -> executeBulkWr ... new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWriteCommand ; $bulk -> deleteMany ( 'db.coll' , []); $bulk -> insertOne ( 'db.coll' , [ '_id' => 1 ]); $manager -> executeBulkWriteCommand ( $bulk ); $bulk = new MongoDB\Driver\BulkWriteCommand ... ; $bulk -> insertOne ( 'db.coll' , [ '_id' => 1 ]); try { $result = $manager -> executeBulkWriteCommand ( $bulk ); } catch ( MongoDB\Driver\Exc ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommandexception.getparti...
Returns verbose results for successful inserts 8789
« MongoDB\Driver\BulkWriteCommandResult::getInsertedCount MongoDB\Driver\BulkWriteCommandResult::getMatchedCount » PHP Manual MongoDB\Driver\BulkWriteCommandResult Returns verbose results for successful inserts 検索 MongoDB\Driver\BulkWrite ... xplicitly provided, the value of insertedId in each result will match the return value of MongoDB\Driver\BulkWriteCommand::insertOne() for the corresponding insert operation. パラメータ この関数にはパラメータはありません。 戻り値 Returns a document contai ... ngoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWriteCommand ([ 'verboseResults' => true ]); $generatedId = $bulk -> insertOne ( 'db.coll' , [ 'x' => 1 ]); $bulk -> updateOne ( 'db.coll' , [ 'x' => 1 ], [ '$set' => [ 'y' => 3 ]]); $bulk -> updateOne ... ver\BulkWriteCommandResult::isAcknowledged() - Returns whether the write was acknowledged MongoDB\Driver\BulkWriteCommand::insertOne() - Add an insertOne operation 関連キーワード: MongoDB Driver BulkWriteCommandResult bulk Returns getInsertResults db coll ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommandresult.getinsertre...
Returns verbose results for successful inserts 8789
« MongoDB\Driver\BulkWriteCommandResult::getInsertedCount MongoDB\Driver\BulkWriteCommandResult::getMatchedCount » PHP Manual MongoDB\Driver\BulkWriteCommandResult Returns verbose results for successful inserts 検索 MongoDB\Driver\BulkWrite ... xplicitly provided, the value of insertedId in each result will match the return value of MongoDB\Driver\BulkWriteCommand::insertOne() for the corresponding insert operation. パラメータ この関数にはパラメータはありません。 戻り値 Returns a document contai ... ngoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWriteCommand ([ 'verboseResults' => true ]); $generatedId = $bulk -> insertOne ( 'db.coll' , [ 'x' => 1 ]); $bulk -> updateOne ( 'db.coll' , [ 'x' => 1 ], [ '$set' => [ 'y' => 3 ]]); $bulk -> updateOne ... ver\BulkWriteCommandResult::isAcknowledged() - Returns whether the write was acknowledged MongoDB\Driver\BulkWriteCommand::insertOne() - Add an insertOne operation 関連キーワード: MongoDB Driver BulkWriteCommandResult bulk getInsertResults coll verbose re ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommandresult.getinsertre...
PREV 1 2 3 4 5 NEXT