mirror of
https://github.com/macintoshplus/mongo-php-driver.git
synced 2026-04-02 22:32:12 +02:00
27 lines
479 B
PHP
27 lines
479 B
PHP
<?php
|
|
|
|
namespace MongoDB\Write;
|
|
|
|
interface WriteResult extends \MongoDB\ServerResult
|
|
{
|
|
/**
|
|
* @return array Additional metadata for the operation(s) (e.g. timings)
|
|
*/
|
|
function getInfo();
|
|
|
|
/**
|
|
* @return integer Number of operations that were executed
|
|
*/
|
|
function getOpCount();
|
|
|
|
/**
|
|
* @return WriteError[]
|
|
*/
|
|
function getWriteErrors();
|
|
|
|
/**
|
|
* @return WriteConcernError[]
|
|
*/
|
|
function getWriteConcernErrors();
|
|
}
|