PHP Class MongoInsertBatch

See also: http://php.net/manual/en/class.mongoinsertbatch.php
See also: http://php.net/manual/en/class.mongowritebatch.php
Inheritance: extends MongoWriteBatch
Exibir arquivo Open project: alcaeus/mongo-php-adapter Class Usage Examples

Public Methods

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

Method Details

__construct() public method

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