« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 27 for BulkWriteCommandResult (0.001 sec.)
The MongoDB\Driver\BulkWriteCommandResult class | PHP 8.3 12919
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: ... :executeBulkWriteCommand() . クラス概要 final class MongoDB\Driver\BulkWriteCommandResult { /* メソッド */ final public function getDeletedCount (): int final public function getDeleteResults (): ? MongoDB\BSON\D ... ocument final public function getUpsertedCount (): int final public function isAcknowledged (): bool } 目次 MongoDB\Driver\BulkWriteCommandResult::getDeletedCount — Returns the number of documents deleted MongoDB\Driver\BulkWriteCommandResult::getDeleteResults — Retur ... ns verbose results for successful deletes MongoDB\Driver\BulkWriteCommandResult::getInsertedCount — Returns the number of documents inserted MongoDB\Driver\BulkWriteCommandResult::getInsertResults — Ret ...
https://man.mtool.work/php/8.3/class.mongodb-driver-bulkwritecommandresult.html
MongoDB\Driver\BulkWriteCommandResult::getMatchedCount — Returns the number of ... 10615
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\BulkWriteCommandResult ... ing the value of a field 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 selecte ... nt parsing errors. Throws 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 ; $bu ... Command ( $bulk ); var_dump ( $result -> getMatchedCount ()); ?> 上の例の出力は以下となります。 int(1) 参考 MongoDB\Driver\BulkWriteCommandResult::getModifiedCount() - Returns the number of existing documents updated MongoDB\Driver\BulkWriteCommandResult::getUpdateRes ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommandresult.getmatchedc...
MongoDB\Driver\BulkWriteCommandResult::getModifiedCount — Returns the number of... 10615
MongoDB\Driver\BulkWriteCommandResult::getModifiedCount (mongodb >=2.1.0) MongoDB\Driver\BulkWriteCommandResult::getModifiedCount — Returns the number of existing documents updated 説明 final public function MongoDB\Driver\BulkWriteCommandResult ... tting the value of a field 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 ... nt parsing errors. Throws 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 ; $b ... ommand ( $bulk ); var_dump ( $result -> getModifiedCount ()); ?> 上の例の出力は以下となります。 int(1) 参考 MongoDB\Driver\BulkWriteCommandResult::getMatchedCount() - Returns the number of documents selected for update MongoDB\Driver\BulkWriteCommandResult::getUpdateR ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommandresult.getmodified...
MongoDB\Driver\BulkWriteCommandResult::getUpdateResults — Returns verbose resul... 9842
MongoDB\Driver\BulkWriteCommandResult::getUpdateResults (mongodb >=2.1.0) MongoDB\Driver\BulkWriteCommandResult::getUpdateResults — Returns verbose results for successful updates 説明 final public function MongoDB\Driver\BulkWriteCommandResult ... nt parsing errors. Throws MongoDB\Driver\Exception\LogicException if the write was not acknowledged. 例 例1 MongoDB\Driver\BulkWriteCommandResult::getUpdateResults() example <?php $manager = new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWriteCommand ([ ' ... tedId"]=> object(MongoDB\BSON\ObjectId)#14 (1) { ["oid"]=> string(24) "67f7eb9b1f198bbcb880d576" } } } 参考 MongoDB\Driver\BulkWriteCommandResult::getMatchedCount() - Returns the number of documents selected for update MongoDB\Driver\BulkWriteCommandResult::getModifie ... dCount() - Returns the number of existing documents updated MongoDB\Driver\BulkWriteCommandResult::getUpsertedCount() - Returns the number of documents upserted MongoDB\Driver\BulkWriteCommandResult::isAcknowledged() - R ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommandresult.getupdatere...
MongoDB\Driver\BulkWriteCommandResult::getDeletedCount — Returns the number of ... 9743
MongoDB\Driver\BulkWriteCommandResult::getDeletedCount (mongodb >=2.1.0) MongoDB\Driver\BulkWriteCommandResult::getDeletedCount — Returns the number of documents deleted 説明 final public function MongoDB\Driver\BulkWriteCommandResult::getD ... nt parsing errors. Throws MongoDB\Driver\Exception\LogicException if the write was not acknowledged. 例 例1 MongoDB\Driver\BulkWriteCommandResult::getDeletedCount() example <?php $manager = new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWriteCommand ; $bu ... Command ( $bulk ); var_dump ( $result -> getDeletedCount ()); ?> 上の例の出力は以下となります。 int(3) 参考 MongoDB\Driver\BulkWriteCommandResult::getDeleteResults() - Returns verbose results for successful deletes MongoDB\Driver\BulkWriteCommandResult::isAcknowledged ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommandresult.getdeletedc...
MongoDB\Driver\BulkWriteCommandResult::getInsertedCount — Returns the number of... 9743
MongoDB\Driver\BulkWriteCommandResult::getInsertedCount (mongodb >=2.1.0) MongoDB\Driver\BulkWriteCommandResult::getInsertedCount — Returns the number of documents inserted 説明 final public function MongoDB\Driver\BulkWriteCommandResult::g ... nt parsing errors. Throws MongoDB\Driver\Exception\LogicException if the write was not acknowledged. 例 例1 MongoDB\Driver\BulkWriteCommandResult::getInsertedCount() example <?php $manager = new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWriteCommand ; $b ... ommand ( $bulk ); var_dump ( $result -> getInsertedCount ()); ?> 上の例の出力は以下となります。 int(1) 参考 MongoDB\Driver\BulkWriteCommandResult::getInsertResults() - Returns verbose results for successful inserts MongoDB\Driver\BulkWriteCommandResult::isAcknowledged ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommandresult.getinserted...
MongoDB\Driver\BulkWriteCommandResult::getUpsertedCount — Returns the number of... 9743
MongoDB\Driver\BulkWriteCommandResult::getUpsertedCount (mongodb >=2.1.0) MongoDB\Driver\BulkWriteCommandResult::getUpsertedCount — Returns the number of documents upserted 説明 final public function MongoDB\Driver\BulkWriteCommandResult::g ... nt parsing errors. Throws MongoDB\Driver\Exception\LogicException if the write was not acknowledged. 例 例1 MongoDB\Driver\BulkWriteCommandResult::getUpsertedCount() example <?php $manager = new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWriteCommand ; $b ... ommand ( $bulk ); var_dump ( $result -> getUpsertedCount ()); ?> 上の例の出力は以下となります。 int(2) 参考 MongoDB\Driver\BulkWriteCommandResult::getUpdateResults() - Returns verbose results for successful updates MongoDB\Driver\BulkWriteCommandResult::isAcknowledged ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommandresult.getupserted...
MongoDB\Driver\BulkWriteCommandResult::isAcknowledged — Returns whether the wri... 9743
MongoDB\Driver\BulkWriteCommandResult::isAcknowledged (mongodb >=2.1.0) MongoDB\Driver\BulkWriteCommandResult::isAcknowledged — Returns whether the write was acknowledged 説明 final public function MongoDB\Driver\BulkWriteCommandResult::isA ... cknowledged (): bool If the write is acknowledged, other fields will be available on the MongoDB\Driver\BulkWriteCommandResult object. パラメータ この関数にはパラメータはありません。 戻り値 Returns true if the write was acknowledged, and false other ... . エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 例 例1 MongoDB\Driver\BulkWriteCommandResult::isAcknowledged() with acknowledged write concern <?php $manager = new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver ... mmand ( $bulk ); var_dump ( $result -> isAcknowledged ()); ?> 上の例の出力は以下となります。 bool(true) 例2 MongoDB\Driver\BulkWriteCommandResult::isAcknowledged() with unacknowledged write concern <?php $manager = new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driv ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommandresult.isacknowled...
MongoDB\Driver\BulkWriteCommandResult::getDeleteResults — Returns verbose resul... 9447
MongoDB\Driver\BulkWriteCommandResult::getDeleteResults (mongodb >=2.1.0) MongoDB\Driver\BulkWriteCommandResult::getDeleteResults — Returns verbose results for successful deletes 説明 final public function MongoDB\Driver\BulkWriteCommandResult ... nt parsing errors. Throws MongoDB\Driver\Exception\LogicException if the write was not acknowledged. 例 例1 MongoDB\Driver\BulkWriteCommandResult::getDeleteResults() example <?php $manager = new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWriteCommand ([ ' ... Class)#6 (1) { ["deletedCount"]=> object(MongoDB\BSON\Int64)#5 (1) { ["integer"]=> string(1) "3" } } } 参考 MongoDB\Driver\BulkWriteCommandResult::getDeletedCount() - Returns the number of documents deleted MongoDB\Driver\BulkWriteCommandResult::isAcknowledged() - Ret ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommandresult.getdeletere...
MongoDB\Driver\BulkWriteCommandResult::getInsertResults — Returns verbose resul... 9249
MongoDB\Driver\BulkWriteCommandResult::getInsertResults (mongodb >=2.1.0) MongoDB\Driver\BulkWriteCommandResult::getInsertResults — Returns verbose results for successful inserts 説明 final public function MongoDB\Driver\BulkWriteCommandResult ... nt parsing errors. Throws MongoDB\Driver\Exception\LogicException if the write was not acknowledged. 例 例1 MongoDB\Driver\BulkWriteCommandResult::getInsertResults() example <?php $manager = new MongoDB\Driver\Manager ; $bulk = new MongoDB\Driver\BulkWriteCommand ([ ' ... rtedId"]=> object(MongoDB\BSON\ObjectId)#6 (1) { ["oid"]=> string(24) "67f7ee69783dcce702097b41" } } } 参考 MongoDB\Driver\BulkWriteCommandResult::getInsertedCount() - Returns the number of documents inserted MongoDB\Driver\BulkWriteCommandResult::isAcknowledged() - R ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommandresult.getinsertre...
PREV 1 2 3 NEXT