« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 14 for getModifiedCount (0.001 sec.)
MongoDB\Driver\BulkWriteCommandResult::getModifiedCount — Returns the number of... 12691
MongoDB\Driver\BulkWriteCommandResult::getModifiedCount (mongodb >=2.1.0) MongoDB\Driver\BulkWriteCommandResult::getModifiedCount — Returns the number of existing documents updated 説明 final public function MongoDB\Driver\BulkWriteCommandR ... esult::getModifiedCount (): int If the update operation results in no change to the document (e.g. setting the value of a field to its current val ... s MongoDB\Driver\Exception\LogicException if the write was not acknowledged. 例 例1 MongoDB\Driver\BulkWriteCommandResult::getModifiedCount() example <?php $manager = new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWriteCommand ; $bulk -> insertOne ( ... ]); $bulk -> deleteMany ( 'db.coll' , []); $result = $manager -> executeBulkWriteCommand ( $bulk ); var_dump ( $result -> getModifiedCount ()); ?> 上の例の出力は以下となります。 int(1) 参考 MongoDB\Driver\BulkWriteCommandResult::getMatchedCount() - Returns the ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommandresult.getmodified...
MongoDB\Driver\WriteResult::getModifiedCount — Returns the number of existing d... 12586
MongoDB\Driver\WriteResult::getModifiedCount (mongodb >=1.0.0) MongoDB\Driver\WriteResult::getModifiedCount — Returns the number of existing documents updated 説明 final public function MongoDB\Driver\WriteResult::getModifiedCount (): int I ... throws an exception when called for an unacknowledged write instead of returning null . 例 例1 MongoDB\Driver\WriteResult::getModifiedCount() example <?php $manager = new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWrite ; $bulk -> insert ([ 'x' => 1 ... $bulk -> delete ([ 'x' => 1 ]); $result = $manager -> executeBulkWrite ( 'db.collection' , $bulk ); var_dump ( $result -> getModifiedCount ()); ?> 上の例の出力は以下となります。 int(1) 参考 MongoDB\Driver\WriteResult::getMatchedCount() - Returns the number of d ...
https://man.mtool.work/php/8.3/mongodb-driver-writeresult.getmodifiedcount.html
The MongoDB\Driver\BulkWriteCommandResult class | PHP 8.3 9557
The MongoDB\Driver\BulkWriteCommandResult class (mongodb >=2.1.0) はじめに The MongoDB\Driver\BulkWriteCommandResult class encapsulates information about an executed MongoDB\Driver\BulkWriteCommand and is returned by MongoDB\Driver\Manager: ... function getInsertResults (): ? MongoDB\BSON\Document final public function getMatchedCount (): int final public function getModifiedCount (): int final public function getUpdateResults (): ? MongoDB\BSON\Document final public function getUpsertedCount (): int ... ommandResult::getMatchedCount — Returns the number of documents selected for update MongoDB\Driver\BulkWriteCommandResult::getModifiedCount — Returns the number of existing documents updated MongoDB\Driver\BulkWriteCommandResult::getUpdateResults — Returns verbo ...
https://man.mtool.work/php/8.3/class.mongodb-driver-bulkwritecommandresult.html
MongoDB\Driver\BulkWriteCommandResult::getMatchedCount — Returns the number of ... 9137
MongoDB\Driver\BulkWriteCommandResult::getMatchedCount (mongodb >=2.1.0) MongoDB\Driver\BulkWriteCommandResult::getMatchedCount — Returns the number of documents selected for update 説明 final public function MongoDB\Driver\BulkWriteCommand ... to its current value), the matched count may be greater than the value returned by MongoDB\Driver\BulkWriteCommandResult::getModifiedCount() . パラメータ この関数にはパラメータはありません。 戻り値 Returns the total number of documents selected for update by al ... ump ( $result -> getMatchedCount ()); ?> 上の例の出力は以下となります。 int(1) 参考 MongoDB\Driver\BulkWriteCommandResult::getModifiedCount() - Returns the number of existing documents updated MongoDB\Driver\BulkWriteCommandResult::getUpdateResults() - Returns v ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommandresult.getmatchedc...
MongoDB\Driver\WriteResult::getMatchedCount — Returns the number of documents s... 9137
MongoDB\Driver\WriteResult::getMatchedCount (mongodb >=1.0.0) MongoDB\Driver\WriteResult::getMatchedCount — Returns the number of documents selected for update 説明 final public function MongoDB\Driver\WriteResult::getMatchedCount (): int I ... of a field to its current value), the matched count may be greater than the value returned by MongoDB\Driver\WriteResult::getModifiedCount() . パラメータ この関数にはパラメータはありません。 戻り値 Returns the number of documents selected for update. エラー / 例 ... lk ); var_dump ( $result -> getMatchedCount ()); ?> 上の例の出力は以下となります。 int(1) 参考 MongoDB\Driver\WriteResult::getModifiedCount() - Returns the number of existing documents updated MongoDB\Driver\WriteResult::isAcknowledged() - Returns whether the wr ...
https://man.mtool.work/php/8.3/mongodb-driver-writeresult.getmatchedcount.html
The MongoDB\Driver\WriteResult class | PHP 8.3 8805
The MongoDB\Driver\WriteResult class (mongodb >=1.0.0) はじめに The MongoDB\Driver\WriteResult class encapsulates information about an executed MongoDB\Driver\BulkWrite and may be returned by MongoDB\Driver\Manager::executeBulkWrite() . クラ ... (): int final public function getInsertedCount (): int final public function getMatchedCount (): int final public function getModifiedCount (): int final public function getServer (): MongoDB\Driver\Server final public function getUpsertedCount (): int final pub ... goDB\Driver\WriteResult::getMatchedCount — Returns the number of documents selected for update MongoDB\Driver\WriteResult::getModifiedCount — Returns the number of existing documents updated MongoDB\Driver\WriteResult::getServer — Returns the server associated w ...
https://man.mtool.work/php/8.3/class.mongodb-driver-writeresult.html
MongoDB\Driver\BulkWriteCommand::__construct — Create a new BulkWriteCommand | ... 7824
MongoDB\Driver\BulkWriteCommand::__construct (mongodb >=2.1.0) MongoDB\Driver\BulkWriteCommand::__construct — Create a new BulkWriteCommand 説明 public function MongoDB\Driver\BulkWriteCommand::__construct ( ? array $options = null ) Constr ... ; printf ( "Inserted %d document(s)\n" , $result -> getInsertedCount ()); printf ( "Updated %d document(s)\n" , $result -> getModifiedCount ()); ?> 上の例の出力は以下となります。 Inserted 3 document(s) Updated 1 document(s) 参考 MongoDB\Driver\Manager::executeBu ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommand.construct.html
MongoDB\Driver\BulkWriteCommandResult::getUpdateResults — Returns verbose resul... 7719
MongoDB\Driver\BulkWriteCommandResult::getUpdateResults (mongodb >=2.1.0) MongoDB\Driver\BulkWriteCommandResult::getUpdateResults — Returns verbose results for successful updates 説明 final public function MongoDB\Driver\BulkWriteCommandRes ... mandResult::getMatchedCount() - Returns the number of documents selected for update MongoDB\Driver\BulkWriteCommandResult::getModifiedCount() - Returns the number of existing documents updated MongoDB\Driver\BulkWriteCommandResult::getUpsertedCount() - Returns t ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommandresult.getupdatere...
The MongoDB\Driver\BulkWriteCommand class | PHP 8.3 7614
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 ... ; printf ( "Inserted %d document(s)\n" , $result -> getInsertedCount ()); printf ( "Updated %d document(s)\n" , $result -> getModifiedCount ()); ?> 上の例の出力は以下となります。 Inserted 3 document(s) Updated 1 document(s) 例2 Ordered write operations causing a ...
https://man.mtool.work/php/8.3/class.mongodb-driver-bulkwritecommand.html
MongoDB\Driver\BulkWrite::__construct — Create a new BulkWrite | PHP 8.3 7614
MongoDB\Driver\BulkWrite::__construct (mongodb >=1.0.0) MongoDB\Driver\BulkWrite::__construct — Create a new BulkWrite 説明 public function MongoDB\Driver\BulkWrite::__construct ( ? array $options = null ) Constructs a new MongoDB\Driver\Bu ... } printf ( "Inserted %d document(s)\n" , $result -> getInsertedCount ()); printf ( "Updated %d document(s)\n" , $result -> getModifiedCount ()); printf ( "Upserted %d document(s)\n" , $result -> getUpsertedCount ()); printf ( "Deleted %d document(s)\n" , $result ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwrite.construct.html
PREV 1 2 NEXT