MongoInsertBatch::__construct
MongoUpdateBatch::__construct
Batch Classes
PHP Manual

# The MongoUpdateBatch class

(PECL mongo >=1.5.0)

## Introduction

Constructs a batch of UPDATE operations. See MongoWriteBatch.

## Class synopsis

MongoUpdateBatch 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

- MongoUpdateBatch::__construct — Description

MongoInsertBatch::__construct
MongoUpdateBatch::__construct
Batch Classes
PHP Manual