PHP Class MongoUpdateBatch

Inheritance: extends MongoWriteBatch
显示文件 Open project: alcaeus/mongo-php-adapter Class Usage Examples

Public Methods

Method Description
__construct ( MongoCollection $collection, array $writeOptions = [] ) Creates a new batch of update operations

Method Details

__construct() public method

Creates a new batch of update operations
See also: http://php.net/manual/en/mongoupdatebatch.construct.php
public __construct ( MongoCollection $collection, array $writeOptions = [] )
$collection MongoCollection
$writeOptions array