|
MongoDB\Driver\BulkWriteCommandResult::getDeleteResultsReturns verbose results for successful deletes 説明
final public MongoDB\BSON\Documentnull MongoDB\Driver\BulkWriteCommandResult::getDeleteResults()
パラメータこの関数にはパラメータはありません。 戻り値
Returns a document containing the result of each successful delete
operation, or エラー / 例外
例例1 MongoDB\Driver\BulkWriteCommandResult::getDeleteResults example
上の例の出力は、 たとえば以下のようになります。 object(stdClass)#7 (1) { ["4"]=> object(stdClass)#6 (1) { ["deletedCount"]=> object(MongoDB\BSON\Int64)#5 (1) { ["integer"]=> string(1) "3" } } } 参考
|