MongoDB\Driver\WriteError::getMessage
MongoDB\Driver\WriteResult::getDeletedCount
MongoDB\Driver
PHP Manual

# The MongoDB\Driver\WriteResult class

(mongodb >=0.2.0)

## Introduction

## Class synopsis

final MongoDB\Driver\WriteResult {
/* Methods */
final public ReturnType getDeletedCount ( void )
final public ReturnType getInfo ( void )
final public ReturnType getInsertedCount ( void )
final public ReturnType getMatchedCount ( void )
final public ReturnType getModifiedCount ( void )
final public ReturnType getServer ( void )
final public ReturnType getUpsertedCount ( void )
final public ReturnType getUpsertedIds ( void )
final public ReturnType getWriteConcernError ( void )
final public ReturnType getWriteErrors ( void )
}

## Table of Contents

- MongoDB\Driver\WriteResult::getDeletedCount — Description
- MongoDB\Driver\WriteResult::getInfo — Description
- MongoDB\Driver\WriteResult::getInsertedCount — Description
- MongoDB\Driver\WriteResult::getMatchedCount — Description
- MongoDB\Driver\WriteResult::getModifiedCount — Description
- MongoDB\Driver\WriteResult::getServer — Description
- MongoDB\Driver\WriteResult::getUpsertedCount — Description
- MongoDB\Driver\WriteResult::getUpsertedIds — Description
- MongoDB\Driver\WriteResult::getWriteConcernError — Description
- MongoDB\Driver\WriteResult::getWriteErrors — Description

MongoDB\Driver\WriteError::getMessage
MongoDB\Driver\WriteResult::getDeletedCount
MongoDB\Driver
PHP Manual