mirror of
https://github.com/macintoshplus/mongo-php-driver.git
synced 2026-04-03 06:42:23 +02:00
15 lines
275 B
PHP
15 lines
275 B
PHP
<?php
|
|
|
|
namespace MongoDB\Write;
|
|
|
|
interface WriteBatch extends \Countable
|
|
{
|
|
/**
|
|
* Adds a new operation to be executed
|
|
*
|
|
* @param array|object $document Operation/document to add to the batch
|
|
* @return DeleteBatch
|
|
*/
|
|
function add($document);
|
|
}
|