MongoLog::getCallback

(PECL mongo >= 1.3.0) Gets the previously set callback function public static callable MongoLog::getCallback ( void ) Retrieves the callback function. Returns: Returns the callback function, or FALSE if not set yet.

MongoDeleteBatch::__construct

(PECL mongo >= 1.5.0) Description public MongoDeleteBatch::__construct ( MongoCollection $collection [, array $write_options ] ) Constructs a batch of DELETE operations. See MongoWriteBatch. Parameters: collection The MongoCollection to execute the batch on. Its write concern will be copied and used as the default write concern if none is given as $write_options or duri

MongoUpdateBatch::__construct

(PECL mongo >= 1.5.0) Description public MongoUpdateBatch::__construct ( MongoCollection $collection [, array $write_options ] ) Constructs a batch of UPDATE operations. See MongoWriteBatch. Parameters: collection The MongoCollection to execute the batch on. Its write concern will be copied and used as the default write concern if none is given as $write_options or duri

MongoInsertBatch::__construct

(PECL mongo >= 1.5.0) Description public MongoInsertBatch::__construct ( MongoCollection $collection [, array $write_options ] ) Constructs a batch of INSERT operations. See MongoWriteBatch. Parameters: collection The MongoCollection to execute the batch on. Its write concern will be copied and used as the default write concern if none is given as $write_options or duri

MongoWriteBatch::execute

(PECL mongo >= 1.5.0) Executes a batch of write operations final public array MongoWriteBatch::execute ( array $write_options ) Executes the batch of write operations. Parameters: write_options See MongoWriteBatch::__construct. Returns: Returns an array containing statistical information for the full batch. If the batch had to be split into mu

MongoWriteBatch::__construct

(PECL mongo >= 1.5.0) Creates a new batch of write operations protected MongoWriteBatch::__construct ( MongoCollection $collection [, string $batch_type [, array $write_options ]] ) Constructs a new MongoWriteBatch. Note: This is a protected constructor. Please use one of the classes inheriting MongoWriteBatch. Parameters: collection The MongoCollection to execute the batch on. Its

MongoWriteBatch::add

(PECL mongo >= 1.5.0) Adds a write operation to a batch public bool MongoWriteBatch::add ( array $item ) Adds a write operation to the batch. If $item causes the batch to exceed the » maxWriteBatchSize or » maxBsonObjectSize limits, the driver will internally split the batches into multiple write commands upon calling MongoWriteBatch::execute(). Parameters: item An a

MongoGridFSCursor::key

(PECL mongo >=0.9.0) Returns the current result's filename public string MongoGridFSCursor::key ( void ) Returns: The current result's _id as a string. Changelog: 1.3.0 The document's _id is returned as a string value, since the key should be unique. Pre-1.3.0, filename was returned.

MongoGridFSCursor::getNext

(PECL mongo >=0.9.0) Return the next file to which this cursor points, and advance the cursor public MongoGridFSFile MongoGridFSCursor::getNext ( void ) Returns: Returns the next file.

MongoGridFSCursor::current

(PECL mongo >=0.9.0) Returns the current file public MongoGridFSFile MongoGridFSCursor::current ( void ) Returns: The current file.