mirror of
https://github.com/macintoshplus/mongo-php-driver.git
synced 2026-04-28 11:03:10 +02:00
749b2d391a
Some highlights: fix class/interface syntax; additional class/method docs; Manager convenience methods; more value objects.
59 lines
1.1 KiB
PHP
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() {}
|
|
}
|