# The MongoInsertBatch class

(PECL mongo >=1.5.0)

## Introducere

Constructs a batch of INSERT operations. See MongoWriteBatch.

## Sinopsisul clasei

MongoInsertBatch extends MongoWriteBatch {
/* Metode */
public __construct ( MongoCollection `$collection` [, array `$write_options` ] )
/* Metode moștenite */
public MongoWriteBatch::add ( array `$item` ) : bool
final public MongoWriteBatch::execute ( array `$write_options` ) : array
}

## Cuprins

- MongoInsertBatch::__construct — Description