« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 9 of about 9 for getMatchedCount (0.002 sec.)
MongoDB\Driver\BulkWriteCommandResult::getMatchedCount — Returns the number of ... 12097
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 ... Result::getMatchedCount (): 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::getMatchedCount() 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 -> getMatchedCount ()); ?> 上の例の出力は以下となります。 int(1) 参考 MongoDB\Driver\BulkWriteCommandResult::getModifiedCount() - Returns the ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommandresult.getmatchedc...
MongoDB\Driver\WriteResult::getMatchedCount — Returns the number of documents s... 11989
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 ... throws an exception when called for an unacknowledged write instead of returning null . 例 例1 MongoDB\Driver\WriteResult::getMatchedCount() 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 -> getMatchedCount ()); ?> 上の例の出力は以下となります。 int(1) 参考 MongoDB\Driver\WriteResult::getModifiedCount() - Returns the number of ...
https://man.mtool.work/php/8.3/mongodb-driver-writeresult.getmatchedcount.html
The MongoDB\Driver\BulkWriteCommandResult class | PHP 8.3 9167
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 getInsertedCount (): int final public function getInsertResults (): ? MongoDB\BSON\Document final public function getMatchedCount (): int final public function getModifiedCount (): int final public function getUpdateResults (): ? MongoDB\BSON\Document ... iteCommandResult::getInsertResults — Returns verbose results for successful inserts MongoDB\Driver\BulkWriteCommandResult::getMatchedCount — Returns the number of documents selected for update MongoDB\Driver\BulkWriteCommandResult::getModifiedCount — Returns th ...
https://man.mtool.work/php/8.3/class.mongodb-driver-bulkwritecommandresult.html
MongoDB\Driver\BulkWriteCommandResult::getModifiedCount — Returns the number of... 8771
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 ... ld to its current value), the modified count may be less than the value returned by MongoDB\Driver\BulkWriteCommandResult::getMatchedCount() . パラメータ この関数にはパラメータはありません。 戻り値 Returns the total number of existing documents updated by all o ... mp ( $result -> getModifiedCount ()); ?> 上の例の出力は以下となります。 int(1) 参考 MongoDB\Driver\BulkWriteCommandResult::getMatchedCount() - Returns the number of documents selected for update MongoDB\Driver\BulkWriteCommandResult::getUpdateResults() - Return ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommandresult.getmodified...
MongoDB\Driver\WriteResult::getModifiedCount — Returns the number of existing d... 8771
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 ... ue of a field to its current value), the modified count may be less than the value returned by MongoDB\Driver\WriteResult::getMatchedCount() . パラメータ この関数にはパラメータはありません。 戻り値 Returns the number of existing documents updated. エラー / 例外 ... k ); var_dump ( $result -> getModifiedCount ()); ?> 上の例の出力は以下となります。 int(1) 参考 MongoDB\Driver\WriteResult::getMatchedCount() - Returns the number of documents selected for update MongoDB\Driver\WriteResult::isAcknowledged() - Returns whether the ...
https://man.mtool.work/php/8.3/mongodb-driver-writeresult.getmodifiedcount.html
The MongoDB\Driver\WriteResult class | PHP 8.3 8466
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() . クラ ... ソッド */ final public function getDeletedCount (): int final public function getInsertedCount (): int final public function getMatchedCount (): int final public function getModifiedCount (): int final public function getServer (): MongoDB\Driver\Server final pub ... r\WriteResult::getInsertedCount — Returns the number of documents inserted (excluding upserts) MongoDB\Driver\WriteResult::getMatchedCount — Returns the number of documents selected for update MongoDB\Driver\WriteResult::getModifiedCount — Returns the number of ...
https://man.mtool.work/php/8.3/class.mongodb-driver-writeresult.html
MongoDB\Driver\BulkWriteCommandResult::getUpdateResults — Returns verbose resul... 7459
MongoDB\Driver\BulkWriteCommandResult::getUpdateResults (mongodb >=2.1.0) MongoDB\Driver\BulkWriteCommandResult::getUpdateResults — Returns verbose results for successful updates 説明 final public function MongoDB\Driver\BulkWriteCommandRes ... \BSON\ObjectId)#14 (1) { ["oid"]=> string(24) "67f7eb9b1f198bbcb880d576" } } } 参考 MongoDB\Driver\BulkWriteCommandResult::getMatchedCount() - Returns the number of documents selected for update MongoDB\Driver\BulkWriteCommandResult::getModifiedCount() - Return ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommandresult.getupdatere...
MongoDB\Driver\Manager::executeBulkWrite — Execute one or more write operations... 7243
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 ... ; printf ( "Inserted %d document(s)\n" , $result -> getInsertedCount ()); printf ( "Matched %d document(s)\n" , $result -> getMatchedCount ()); printf ( "Updated %d document(s)\n" , $result -> getModifiedCount ()); printf ( "Upserted %d document(s)\n" , $result ...
https://man.mtool.work/php/8.3/mongodb-driver-manager.executebulkwrite.html
サンプル | PHP 8.3 6848
サンプル マニュアル内の全サンプルの一覧 Example#0 - 初歩的な例 Example#1 - 初めての PHP スクリプト: hello.php Example#2 - PHP からシステムに関する情報を取得する Example#3 - 変数を出力する (配列要素) Example#4 - 制御構造 および 関数の使用例 ... unt example Example#1547 - MongoDB\Driver\WriteResult::getInsertedCount example Example#1548 - MongoDB\Driver\WriteResult::getMatchedCount example Example#1549 - MongoDB\Driver\WriteResult::getModifiedCount example Example#1550 - MongoDB\Driver\WriteResult::get ... 61 - MongoDB\Driver\BulkWriteCommandResult::getInsertResults example Example#1562 - MongoDB\Driver\BulkWriteCommandResult::getMatchedCount example Example#1563 - MongoDB\Driver\BulkWriteCommandResult::getModifiedCount example Example#1564 - MongoDB\Driver\BulkW ...
https://man.mtool.work/php/8.3/indexes.examples.html
PREV 1 NEXT