PHP Manual

  • English French German Portuguese Spanish
  1. Function Reference
  2. Database Extensions
  3. Vendor Specific Database Extensions
  4. Mongo
  5. Batch Classes
  6. MongoInsertBatch
Batch Classes MongoWriteBatch MongoInsertBatch MongoUpdateBatch MongoDeleteBatch
  • MongoWriteBatch::execute
  • MongoInsertBatch::__construct

The MongoInsertBatch class

(PECL mongo >=1.5.0)

Introduction

Constructs a batch of INSERT operations. See MongoWriteBatch.

Class synopsis

MongoInsertBatch extends MongoWriteBatch {
/* Methods */
public __construct ( MongoCollection $collection [, array $write_options ] )
/* Inherited methods */
public bool MongoWriteBatch::add ( array $item )
final public array MongoWriteBatch::execute ( array $write_options )
}

Table of Contents

  • MongoInsertBatch::__construct — Description
© Copyright © 2001-2015 The PHP Group.

© Copyright 2014. Diseñado por PHP Manual usando jfCMS.