« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 2 of about 2 for matchedCount (0.001 sec.)
MongoDB\Driver\BulkWriteCommandResult::getUpdateResults — Returns verbose resul... 11228
MongoDB\Driver\BulkWriteCommandResult::getUpdateResults (mongodb >=2.1.0) MongoDB\Driver\BulkWriteCommandResult::getUpdateResults — Returns verbose results for successful updates 説明 final public function MongoDB\Driver\BulkWriteCommandRes ... toPHP ()); ?> 上の例の出力は、 たとえば以下のようになります。 object(stdClass)#16 (3) { ["1"]=> object(stdClass)#7 (2) { ["matchedCount"]=> object(MongoDB\BSON\Int64)#5 (1) { ["integer"]=> string(1) "1" } ["modifiedCount"]=> object(MongoDB\BSON\Int64)#6 (1) ... { ["integer"]=> string(1) "1" } } ["2"]=> object(stdClass)#11 (3) { ["matchedCount"]=> object(MongoDB\BSON\Int64)#8 (1) { ["integer"]=> string(1) "1" } ["modifiedCount"]=> object(MongoDB\BSON\Int64)#9 (1) ... ct(MongoDB\BSON\ObjectId)#10 (1) { ["oid"]=> string(24) "67f7eb9b1f198bbcb880d575" } } ["3"]=> object(stdClass)#15 (3) { ["matchedCount"]=> object(MongoDB\BSON\Int64)#12 (1) { ["integer"]=> string(1) "1" } ["modifiedCount"]=> object(MongoDB\BSON\Int64)#13 (1 ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommandresult.getupdatere...
The MongoDB\Driver\WriteResult class | PHP 8.3 7485
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 class MongoDB\Driver\WriteResult { /* プロパティ */ public readonly ? int $ insertedCount ; public readonly ? int $ matchedCount ; public readonly ? int $ modifiedCount ; public readonly ? int $ deletedCount ; public readonly ? int $ upsertedCount ; p ... ド */ 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 ... dCount The number of documents inserted (excluding upserts), or null if the write concern did not request acknowledgement. matchedCount The number of documents matched by update and replace operations, or null if the write concern did not request acknowledge ...
https://man.mtool.work/php/8.3/class.mongodb-driver-writeresult.html
PREV 1 NEXT