Files
mongo-php-driver/docs/api/MongoDB/Write/UpdateResult.php
T
Jeremy Mikola 749b2d391a Implement review feedback
Some highlights: fix class/interface syntax; additional class/method docs; Manager convenience methods; more value objects.
2014-06-13 03:52:26 -04:00

59 lines
1.1 KiB
PHP

<?php
namespace MongoDB\Write;
/**
* Result returned by Server and Manager executeWrite() methods processing an
* UpdateBatch.
*
* This class may be constructed internally if it will encapsulate a libmongoc
* data structure.
*/
final class UpdateResult implements WriteResult
{
/**
* @return integer
*/
public function getNumMatched() {}
/**
* @return integer
*/
public function getNumModified() {}
/**
* @return integer
*/
public function getNumUpserted() {}
/**
* @return GeneratedId[]
*/
public function getUpserts()
{
/* Return an array of identifiers upserted by the server. Each
* GeneratedId has a batch index and the ID value.
*/
}
/**
* @see WriteResult::getInfo()
*/
public function getInfo() {}
/**
* @see WriteResult::getServer()
*/
public function getServer() {}
/**
* @see WriteResult::getWriteConcernErrors()
*/
public function getWriteConcernErrors() {}
/**
* @see WriteResult::getWriteErrors()
*/
public function getWriteErrors() {}
}