A

Builder::addFields() — Method in class Builder
Adds new fields to documents. $addFields outputs documents that contain all existing fields from the input documents and newly added fields.
Builder::addStage() — Method in class Builder
Expr::abs() — Method in class Expr
Returns the absolute value of a number.
Expr::add() — Method in class Expr
Adds numbers together or adds numbers and a date. If one of the arguments is a date, $add treats the other arguments as milliseconds to add to the date.
Expr::addAnd() — Method in class Expr
Adds one or more $and clauses to the current expression.
Expr::addOr() — Method in class Expr
Adds one or more $or clause to the current expression.
Expr::addToSet() — Method in class Expr
Returns an array of all unique values that results from applying an expression to each document in a group of documents that share the same group by key. Order of the elements in the output array is unspecified.
Expr::allElementsTrue() — Method in class Expr
Evaluates an array as a set and returns true if no element in the array is false. Otherwise, returns false. An empty array returns true.
Expr::anyElementTrue() — Method in class Expr
Evaluates an array as a set and returns true if any of the elements are true and false otherwise. An empty array returns false.
Expr::arrayElemAt() — Method in class Expr
Returns the element at the specified array index.
Expr::avg() — Method in class Expr
Returns the average value of the numeric values that result from applying a specified expression to each document in a group of documents that share the same group by key. Ignores nun-numeric values.
AbstractBucketClass in namespace Doctrine\MongoDB\Aggregation\Stage
Abstract class with common functionality for $bucket and $bucketAuto stages
AddFieldsClass in namespace Doctrine\MongoDB\Aggregation\Stage
Fluent interface for adding a $addFields stage to an aggregation pipeline.
AbstractOutputClass in namespace Doctrine\MongoDB\Aggregation\Stage\Bucket
Abstract class with common functionality for output objects in bucket stages
AbstractOutput::addToSet() — Method in class AbstractOutput
Returns an array of all unique values that results from applying an expression to each document in a group of documents that share the same group by key. Order of the elements in the output array is unspecified.
AbstractOutput::avg() — Method in class AbstractOutput
Returns the average value of the numeric values that result from applying a specified expression to each document in a group of documents that share the same group by key. Ignores nun-numeric values.
GraphLookup::alias() — Method in class GraphLookup
Name of the array field added to each output document.
Match::alias() — Method in class Match
Name of the array field added to each output document.
Group::addToSet() — Method in class Group
Returns an array of all unique values that results from applying an expression to each document in a group of documents that share the same group by key. Order of the elements in the output array is unspecified.
Group::avg() — Method in class Group
Returns the average value of the numeric values that result from applying a specified expression to each document in a group of documents that share the same group by key. Ignores nun-numeric values.
Lookup::alias() — Method in class Lookup
Specifies the name of the new array field to add to the input documents.
Match::addAnd() — Method in class Match
Add one or more $and clauses to the current query.
Match::addNor() — Method in class Match
Add one or more $nor clauses to the current query.
Match::addOr() — Method in class Match
Add one or more $or clauses to the current query.
Match::all() — Method in class Match
Specify $all criteria for the current field.
Operator::abs() — Method in class Operator
Returns the absolute value of a number.
Operator::add() — Method in class Operator
Adds numbers together or adds numbers and a date. If one of the arguments is a date, $add treats the other arguments as milliseconds to add to the date.
Operator::addAnd() — Method in class Operator
Add one or more $and clauses to the current expression.
Operator::addOr() — Method in class Operator
Add one or more $or clauses to the current expression.
Operator::allElementsTrue() — Method in class Operator
Evaluates an array as a set and returns true if no element in the array is false. Otherwise, returns false. An empty array returns true.
Operator::anyElementTrue() — Method in class Operator
Evaluates an array as a set and returns true if any of the elements are true and false otherwise. An empty array returns false.
Operator::arrayElemAt() — Method in class Operator
Returns the element at the specified array index.
Project::avg() — Method in class Project
Returns the average value of the numeric values that result from applying a specified expression to each document in a group of documents that share the same group by key. Ignores nun-numeric values.
ArrayIteratorClass in namespace Doctrine\MongoDB
ArrayIterator is used to encapsulate document results from commands.
Collection::aggregate() — Method in class Collection
Invokes the aggregate command.
$Configuration#attributesProperty in class Configuration
Array of attributes for this configuration instance.
Cursor::addOption() — Method in class Cursor
Wrapper method for MongoCursor::addOption().
CursorInterface::addOption() — Method in class CursorInterface
Wrapper method for MongoCursor::addOption().
Database::authenticate() — Method in class Database
Wrapper method for MongoDB::authenticate().
EagerCursor::addOption() — Method in class EagerCursor
Wrapper method for MongoCursor::addOption().
AggregateEventArgsClass in namespace Doctrine\MongoDB\Event
Event args for the aggregate command.
LoggableDatabase::authenticate() — Method in class LoggableDatabase
Builder::addAnd() — Method in class Builder
Add one or more $and clauses to the current query.
Builder::addManyToSet() — Method in class Builder
Append multiple values to the current array field only if they do not already exist in the array.
Builder::addNor() — Method in class Builder
Add one or more $nor clauses to the current query.
Builder::addOr() — Method in class Builder
Add one or more $or clauses to the current query.
Builder::addToSet() — Method in class Builder
Append one or more values to the current array field only if they do not already exist in the array.
Builder::all() — Method in class Builder
Specify $all criteria for the current field.
Expr::addAnd() — Method in class Expr
Add one or more $and clauses to the current query.
Expr::addManyToSet() — Method in class Expr
Append multiple values to the current array field only if they do not already exist in the array.
Expr::addNor() — Method in class Expr
Add one or more $nor clauses to the current query.
Expr::addOr() — Method in class Expr
Add one or more $or clauses to the current query.
Expr::addToSet() — Method in class Expr
Append one or more values to the current array field only if they do not already exist in the array.
Expr::all() — Method in class Expr
Specify $all criteria for the current field.
LoggableCollectionTrait::aggregate() — Method in class LoggableCollectionTrait

B

BuilderClass in namespace Doctrine\MongoDB\Aggregation
Fluent interface for building aggregation pipelines.
Builder::bucket() — Method in class Builder
Categorizes incoming documents into groups, called buckets, based on a specified expression and bucket boundaries.
Builder::bucketAuto() — Method in class Builder
Categorizes incoming documents into a specific number of groups, called buckets, based on a specified expression.
$Stage#builderProperty in class Stage
Stage::bucket() — Method in class Stage
Categorizes incoming documents into groups, called buckets, based on a specified expression and bucket boundaries.
Stage::bucketAuto() — Method in class Stage
Categorizes incoming documents into a specific number of groups, called buckets, based on a specified expression.
BucketClass in namespace Doctrine\MongoDB\Aggregation\Stage
Fluent interface for adding a $bucket stage to an aggregation pipeline.
Bucket::boundaries() — Method in class Bucket
An array of values based on the groupBy expression that specify the boundaries for each bucket.
BucketAutoClass in namespace Doctrine\MongoDB\Aggregation\Stage
Fluent interface for adding a $bucketAuto stage to an aggregation pipeline.
BucketAuto::buckets() — Method in class BucketAuto
A positive 32-bit integer that specifies the number of buckets into which input documents are grouped.
$AbstractOutput#bucketProperty in class AbstractOutput
BucketAutoOutputClass in namespace Doctrine\MongoDB\Aggregation\Stage\Bucket
Fluent interface for adding an output specification to a bucket stage.
BucketAutoOutput::buckets() — Method in class BucketAutoOutput
A positive 32-bit integer that specifies the number of buckets into which input documents are grouped.
BucketOutputClass in namespace Doctrine\MongoDB\Aggregation\Stage\Bucket
Fluent interface for adding an output specification to a bucket stage.
BucketOutput::boundaries() — Method in class BucketOutput
An array of values based on the groupBy expression that specify the boundaries for each bucket.
Collection::batchInsert() — Method in class Collection
Wrapper method for MongoCollection::batchInsert().
CommandCursor::batchSize() — Method in class CommandCursor
Wrapper method for MongoCommandCursor::batchSize().
$Cursor#batchSizeProperty in class Cursor
Cursor::batchSize() — Method in class Cursor
Wrapper method for MongoCursor::batchSize().
CursorInterface::batchSize() — Method in class CursorInterface
Wrapper method for MongoCursor::batchSize().
EagerCursor::batchSize() — Method in class EagerCursor
Wrapper method for MongoCursor::batchSize().
BuilderClass in namespace Doctrine\MongoDB\Query
Fluent interface for building Query objects.
Builder::bitAnd() — Method in class Builder
Apply a bitwise and operation on the current field.
Builder::bitOr() — Method in class Builder
Apply a bitwise or operation on the current field.
Builder::bitsAllClear() — Method in class Builder
Matches documents where all of the bit positions given by the query are clear.
Builder::bitsAllSet() — Method in class Builder
Matches documents where all of the bit positions given by the query are set.
Builder::bitsAnyClear() — Method in class Builder
Matches documents where any of the bit positions given by the query are clear.
Builder::bitsAnySet() — Method in class Builder
Matches documents where any of the bit positions given by the query are set.
Builder::bitXor() — Method in class Builder
Apply a bitwise xor operation on the current field.
Expr::bit() — Method in class Expr
Apply a bitwise operation on the current field
Expr::bitAnd() — Method in class Expr
Apply a bitwise and operation on the current field.
Expr::bitOr() — Method in class Expr
Apply a bitwise or operation on the current field.
Expr::bitsAllClear() — Method in class Expr
Matches documents where all of the bit positions given by the query are clear.
Expr::bitsAllSet() — Method in class Expr
Matches documents where all of the bit positions given by the query are set.
Expr::bitsAnyClear() — Method in class Expr
Matches documents where any of the bit positions given by the query are clear.
Expr::bitsAnySet() — Method in class Expr
Matches documents where any of the bit positions given by the query are set.
Expr::bitXor() — Method in class Expr
Apply a bitwise xor operation on the current field.
LoggableCollectionTrait::batchInsert() — Method in class LoggableCollectionTrait

C

Builder::collStats() — Method in class Builder
Returns statistics regarding a collection or view.
Builder::count() — Method in class Builder
Returns a document that contains a count of the number of documents input to the stage.
Expr::caseInternal() — Method in class Expr
Adds a case statement for a branch of the $switch operator.
Expr::ceil() — Method in class Expr
Returns the smallest integer greater than or equal to the specified number.
Expr::cmp() — Method in class Expr
Compares two values and returns: -1 if the first value is less than the second.
Expr::concat() — Method in class Expr
Concatenates strings and returns the concatenated string.
Expr::concatArrays() — Method in class Expr
Concatenates arrays to return the concatenated array.
Expr::cond() — Method in class Expr
Evaluates a boolean expression to return one of the two specified return expressions.
Expr::convertExpression() — Method in class Expr
Converts an expression object into an array, recursing into nested items
Stage::collStats() — Method in class Stage
Returns statistics regarding a collection or view.
Stage::count() — Method in class Stage
Returns a document that contains a count of the number of documents input to the stage.
AbstractBucket::convertExpression() — Method in class AbstractBucket
Converts an expression object into an array, recursing into nested items
CollStatsClass in namespace Doctrine\MongoDB\Aggregation\Stage
Fluent interface for adding a $collStats stage to an aggregation pipeline.
CountClass in namespace Doctrine\MongoDB\Aggregation\Stage
Fluent interface for adding a $count stage to an aggregation pipeline.
GraphLookup::createMatchObject() — Method in class GraphLookup
GraphLookup::connectFromField() — Method in class GraphLookup
Field name whose value $graphLookup uses to recursively match against the connectToField of other documents in the collection.
GraphLookup::connectToField() — Method in class GraphLookup
Field name in other documents against which to match the value of the field specified by the connectFromField parameter.
GraphLookup::convertExpression() — Method in class GraphLookup
Converts an expression object into an array, recursing into nested items
Match::connectFromField() — Method in class Match
Field name whose value $graphLookup uses to recursively match against the connectToField of other documents in the collection.
Match::connectToField() — Method in class Match
Field name in other documents against which to match the value of the field specified by the connectFromField parameter.
Operator::ceil() — Method in class Operator
Returns the smallest integer greater than or equal to the specified number.
Operator::cmp() — Method in class Operator
Compares two values and returns: -1 if the first value is less than the second.
Operator::concat() — Method in class Operator
Concatenates strings and returns the concatenated string.
Operator::concatArrays() — Method in class Operator
Concatenates arrays to return the concatenated array.
Operator::cond() — Method in class Operator
Evaluates a boolean expression to return one of the two specified return expressions.
ReplaceRoot::convertExpression() — Method in class ReplaceRoot
Converts an expression object into an array, recursing into nested items
ArrayIterator::count() — Method in class ArrayIterator
ArrayIterator::current() — Method in class ArrayIterator
CollectionClass in namespace Doctrine\MongoDB
Wrapper for the MongoCollection class.
Collection::count() — Method in class Collection
Invokes the count command.
Collection::createAggregationBuilder() — Method in class Collection
Creates a new aggregation builder instance.
Collection::createDBRef() — Method in class Collection
Wrapper method for MongoCollection::createDBRef().
Collection::createQueryBuilder() — Method in class Collection
Creates a new query builder instance.
Collection::convertWriteConcern() — Method in class Collection
Converts "safe" write option to "w" for driver versions 1.3.0+.
Collection::convertWriteTimeout() — Method in class Collection
Convert "wtimeout" write option to "wTimeoutMS" for driver version 1.5.0+.
Collection::convertSocketTimeout() — Method in class Collection
Convert "timeout" write option to "socketTimeoutMS" for driver version 1.5.0+.
CommandCursorClass in namespace Doctrine\MongoDB
Wrapper for the PHP MongoCommandCursor class.
CommandCursor::count() — Method in class CommandCursor
Recreates the command cursor and counts its results.
CommandCursor::current() — Method in class CommandCursor
Wrapper method for MongoCommandCursor::current().
ConfigurationClass in namespace Doctrine\MongoDB
Configuration class for creating a Connection.
ConnectionClass in namespace Doctrine\MongoDB
Wrapper for the MongoClient class.
$Connection#configProperty in class Connection
The Configuration for this connection.
Connection::close() — Method in class Connection
Wrapper method for MongoClient::close().
Connection::connect() — Method in class Connection
Wrapper method for MongoClient::connect().
Connection::convertConnectTimeout() — Method in class Connection
Converts "timeout" MongoClient constructor option to "connectTimeoutMS" for driver versions 1.4.0+.
Connection::convertWriteTimeout() — Method in class Connection
Converts "wTimeout" MongoClient constructor option to "wTimeoutMS" for driver versions 1.4.0+.
CursorClass in namespace Doctrine\MongoDB
Wrapper for the PHP MongoCursor class.
$Cursor#collectionProperty in class Cursor
The Collection instance used for recreating this cursor.
Cursor::count() — Method in class Cursor
Wrapper method for MongoCursor::count().
Cursor::current() — Method in class Cursor
Wrapper method for MongoCursor::current().
CursorInterfaceClass in namespace Doctrine\MongoDB
Wrapper for the PHP MongoCursor class.
$Database#connectionProperty in class Database
The Connection instance to which this database belongs.
Database::command() — Method in class Database
Wrapper method for MongoDB::command().
Database::createCollection() — Method in class Database
Wrapper method for MongoDB::createCollection().
Database::createDBRef() — Method in class Database
Wrapper method for MongoDB::createDBRef().
Database::convertSocketTimeout() — Method in class Database
Convert "timeout" write option to "socketTimeoutMS" for driver version 1.5.0+.
$EagerCursor#cursorProperty in class EagerCursor
The Cursor instance being wrapped.
EagerCursor::count() — Method in class EagerCursor
EagerCursor::current() — Method in class EagerCursor
CreateCollectionEventArgsClass in namespace Doctrine\MongoDB\Event
Event args for creating a collection.
LoggableDatabase::command() — Method in class LoggableDatabase
LoggableDatabase::createCollection() — Method in class LoggableDatabase
$Builder#collectionProperty in class Builder
The Collection instance.
Builder::caseSensitive() — Method in class Builder
A boolean flag to enable or disable case sensitive search for $text criteria.
Builder::comment() — Method in class Builder
Associates a comment to any expression taking a query predicate.
Builder::count() — Method in class Builder
Change the query type to count.
Builder::currentDate() — Method in class Builder
Sets the value of the current field to the current date, either as a date or a timestamp.
$Expr#currentFieldProperty in class Expr
The current field we are operating on.
Expr::caseSensitive() — Method in class Expr
A boolean flag to enable or disable case sensitive search for $text criteria.
Expr::comment() — Method in class Expr
Associates a comment to any expression taking a query predicate.
Expr::currentDate() — Method in class Expr
Sets the value of the current field to the current date, either as a date or a timestamp.
$Query#collectionProperty in class Query
The Collection instance.
Query::count() — Method in class Query
Count the number of results for this query.
LoggableCollectionTrait::count() — Method in class LoggableCollectionTrait
ReadPreference::convertNumericType() — Method in class ReadPreference
Converts a numeric type returned by getReadPreference() methods to the constant accepted by setReadPreference() methods.
ReadPreference::convertReadPreference() — Method in class ReadPreference
Converts return values from getReadPreference() methods to the format accepted by setReadPreference() methods.
ReadPreference::convertTagSets() — Method in class ReadPreference
Converts tag sets returned by getReadPreference() methods to the format accepted by setReadPreference() methods.

D

Expr::dateToString() — Method in class Expr
Converts a date object to a string according to a user-specified format.
Expr::dayOfMonth() — Method in class Expr
Returns the day of the month for a date as a number between 1 and 31.
Expr::dayOfWeek() — Method in class Expr
Returns the day of the week for a date as a number between 1 (Sunday) and 7 (Saturday).
Expr::dayOfYear() — Method in class Expr
Returns the day of the year for a date as a number between 1 and 366.
Expr::defaultInternal() — Method in class Expr
Adds a default statement for the current $switch operator.
Expr::divide() — Method in class Expr
Divides one number by another and returns the result. The first argument is divided by the second argument.
Bucket::defaultBucket() — Method in class Bucket
A literal that specifies the _id of an additional bucket that contains all documents whose groupBy expression result does not fall into a bucket specified by boundaries.
BucketOutput::defaultBucket() — Method in class BucketOutput
A literal that specifies the _id of an additional bucket that contains all documents whose groupBy expression result does not fall into a bucket specified by boundaries.
GeoNear::distanceField() — Method in class GeoNear
The output field that contains the calculated distance. To specify a field within an embedded document, use dot notation.
GeoNear::distanceMultiplier() — Method in class GeoNear
The factor to multiply all distances returned by the query.
GraphLookup::depthField() — Method in class GraphLookup
Name of the field to add to each traversed document in the search path.
Match::depthField() — Method in class Match
Name of the field to add to each traversed document in the search path.
Match::debug() — Method in class Match
Return an array of information about the Builder state for debugging.
Operator::dateToString() — Method in class Operator
Converts a date object to a string according to a user-specified format.
Operator::dayOfMonth() — Method in class Operator
Returns the day of the month for a date as a number between 1 and 31.
Operator::dayOfWeek() — Method in class Operator
Returns the day of the week for a date as a number between 1 (Sunday) and 7 (Saturday).
Operator::dayOfYear() — Method in class Operator
Returns the day of the year for a date as a number between 1 and 366.
Operator::divide() — Method in class Operator
Divides one number by another and returns the result. The first argument is divided by the second argument.
$Collection#databaseProperty in class Collection
The Database instance to which this collection belongs.
Collection::deleteIndex() — Method in class Collection
Wrapper method for MongoCollection::deleteIndex().
Collection::deleteIndexes() — Method in class Collection
Wrapper method for MongoCollection::deleteIndexes().
Collection::distinct() — Method in class Collection
Invokes the distinct command.
Collection::drop() — Method in class Collection
Wrapper method for MongoCollection::drop().
Collection::doAggregate() — Method in class Collection
Execute the aggregate command.
Collection::doAggregateCursor() — Method in class Collection
Executes the aggregate command and returns a MongoCommandCursor.
Collection::doBatchInsert() — Method in class Collection
Execute the batchInsert query.
Collection::doCount() — Method in class Collection
Execute the count command.
Collection::doDistinct() — Method in class Collection
Execute the distinct command.
Collection::doDrop() — Method in class Collection
Drops the collection.
Collection::doFind() — Method in class Collection
Execute the find query.
Collection::doFindAndRemove() — Method in class Collection
Execute the findAndModify command with the remove option.
Collection::doFindAndUpdate() — Method in class Collection
Execute the findAndModify command with the update option.
Collection::doFindOne() — Method in class Collection
Execute the findOne query.
Collection::doGetDBRef() — Method in class Collection
Resolves a database reference.
Collection::doGroup() — Method in class Collection
Execute the group command.
Collection::doInsert() — Method in class Collection
Execute the insert query.
Collection::doMapReduce() — Method in class Collection
Execute the mapReduce command.
Collection::doNear() — Method in class Collection
Execute the geoNear command.
Collection::doRemove() — Method in class Collection
Execute the remove query.
Collection::doSave() — Method in class Collection
Execute the save query.
Collection::doUpdate() — Method in class Collection
Execute the update query.
CommandCursor::dead() — Method in class CommandCursor
Wrapper method for MongoCommandCursor::dead().
$Connection#driverOptionsProperty in class Connection
Driver options used to construct the MongoClient instance (optional).
Connection::dropDatabase() — Method in class Connection
Wrapper method for MongoClient::dropDB().
Connection::doSelectDatabase() — Method in class Connection
Return a new Database instance.
Cursor::dead() — Method in class Cursor
Wrapper method for MongoCursor::dead().
CursorInterface::dead() — Method in class CursorInterface
Wrapper method for MongoCursor::dead().
DatabaseClass in namespace Doctrine\MongoDB
Wrapper for the MongoDB class.
Database::drop() — Method in class Database
Wrapper method for MongoDB::drop().
Database::dropCollection() — Method in class Database
Wrapper method for MongoDB::dropCollection().
Database::doGetDBRef() — Method in class Database
Resolves a database reference.
Database::doCreateCollection() — Method in class Database
Creates a collection.
Database::doGetGridFS() — Method in class Database
Return a new GridFS instance.
Database::doSelectCollection() — Method in class Database
Return a new Collection instance.
$EagerCursor#dataProperty in class EagerCursor
The Cursor results.
EagerCursor::dead() — Method in class EagerCursor
Wrapper method for MongoCursor::dead().
DistinctEventArgsClass in namespace Doctrine\MongoDB\Event
Event args for the distinct command.
GridFS::doBatchInsert() — Method in class GridFS
Execute the batchInsert query.
GridFS::doFindAndRemove() — Method in class GridFS
Execute the findAndModify command with the remove option and delete any chunks for the document.
GridFS::doFindOne() — Method in class GridFS
Execute the findOne query.
GridFS::doInsert() — Method in class GridFS
Execute the insert query and persist the GridFSFile if necessary.
GridFS::doSave() — Method in class GridFS
Execute the save query and persist the GridFSFile if necessary.
GridFS::doUpdate() — Method in class GridFS
Execute the update query and persist its GridFSFile if necessary.
LoggableDatabase::drop() — Method in class LoggableDatabase
LoggableDatabase::doGetGridFS() — Method in class LoggableDatabase
LoggableDatabase::doSelectCollection() — Method in class LoggableDatabase
Return a new LoggableCollection instance.
Builder::debug() — Method in class Builder
Return an array of information about the Builder state for debugging.
Builder::diacriticSensitive() — Method in class Builder
A boolean flag to enable or disable diacritic sensitive search for $text criteria.
Builder::distanceMultiplier() — Method in class Builder
Set the "distanceMultiplier" option for a geoNear command query.
Builder::distinct() — Method in class Builder
Change the query type to a distinct command.
Expr::diacriticSensitive() — Method in class Expr
A boolean flag to enable or disable diacritic sensitive search for $text criteria.
Query::debug() — Method in class Query
Return an array of information about the query structure for debugging.
LoggableCollectionTrait::deleteIndex() — Method in class LoggableCollectionTrait
LoggableCollectionTrait::deleteIndexes() — Method in class LoggableCollectionTrait
LoggableCollectionTrait::distinct() — Method in class LoggableCollectionTrait
LoggableCollectionTrait::drop() — Method in class LoggableCollectionTrait

E

Builder::expr() — Method in class Builder
Builder::execute() — Method in class Builder
Executes the aggregation pipeline
ExprClass in namespace Doctrine\MongoDB\Aggregation
Fluent interface for adding operators to aggregation stages.
Expr::ensureArray() — Method in class Expr
Ensures an array or operator expression is converted to an array.
Expr::eq() — Method in class Expr
Compares two values and returns whether the are equivalent.
Expr::exp() — Method in class Expr
Raises Euler’s number to the specified exponent and returns the result.
Expr::expr() — Method in class Expr
Returns a new expression object
Expr::expression() — Method in class Expr
Allows any expression to be used as a field value.
Stage::execute() — Method in class Stage
Executes the aggregation pipeline
AbstractOutput::expression() — Method in class AbstractOutput
Used to use an expression as field value. Can be any expression.
$Group#exprProperty in class Group
Group::expression() — Method in class Group
Used to use an expression as field value. Can be any expression
Match::elemMatch() — Method in class Match
Specify $elemMatch criteria for the current field.
Match::equals() — Method in class Match
Specify an equality match for the current field.
Match::exists() — Method in class Match
Specify $exists criteria for the current field.
Match::expr() — Method in class Match
Create a new Expr instance that can be used to build partial expressions for other operator methods.
$Operator#exprProperty in class Operator
Operator::eq() — Method in class Operator
Compares two values and returns whether they are equivalent.
Operator::exp() — Method in class Operator
Raises Euler’s number to the specified exponent and returns the result.
Operator::expression() — Method in class Operator
Used to use an expression as field value. Can be any expression
Project::excludeIdField() — Method in class Project
Shorthand method to exclude the _id field.
Project::excludeFields() — Method in class Project
Shorthand method to define which fields to be excluded.
$Collection#eventManagerProperty in class Collection
The EventManager used to dispatch events.
Collection::ensureIndex() — Method in class Collection
Wrapper method for MongoCollection::ensureIndex().
$Connection#eventManagerProperty in class Connection
The EventManager used to dispatch events.
Cursor::explain() — Method in class Cursor
Wrapper method for MongoCursor::explain().
CursorInterface::explain() — Method in class CursorInterface
Wrapper method for MongoCursor::explain().
$Database#eventManagerProperty in class Database
The EventManager used to dispatch events.
Database::execute() — Method in class Database
Wrapper method for MongoDB::execute().
EagerCursorClass in namespace Doctrine\MongoDB
EagerCursor wraps a Cursor instance and fetches all of its results upon initialization.
EagerCursor::explain() — Method in class EagerCursor
Wrapper method for MongoCursor::explain().
EventArgsClass in namespace Doctrine\MongoDB\Event
Event args for generic queries.
EventsClass in namespace Doctrine\MongoDB
Container class for all Doctrine MongoDB events.
LoggableDatabase::execute() — Method in class LoggableDatabase
$Builder#exprProperty in class Builder
The Expr instance used for building this query.
Builder::eagerCursor() — Method in class Builder
Set whether the query should return its result as an EagerCursor.
Builder::elemMatch() — Method in class Builder
Specify $elemMatch criteria for the current field.
Builder::equals() — Method in class Builder
Specify an equality match for the current field.
Builder::exclude() — Method in class Builder
Set one or more fields to be excluded from the query projection.
Builder::exists() — Method in class Builder
Specify $exists criteria for the current field.
Builder::expr() — Method in class Builder
Create a new Expr instance that can be used to build partial expressions for other operator methods.
ExprClass in namespace Doctrine\MongoDB\Query
Fluent interface for building query and update expressions.
Expr::each() — Method in class Expr
Add $each criteria to the expression for a $push operation.
Expr::elemMatch() — Method in class Expr
Specify $elemMatch criteria for the current field.
Expr::equals() — Method in class Expr
Specify an equality match for the current field.
Expr::exists() — Method in class Expr
Specify $exists criteria for the current field.
Query::execute() — Method in class Query
Execute the query and return its result.
LoggableCollectionTrait::ensureIndex() — Method in class LoggableCollectionTrait

F

Builder::facet() — Method in class Builder
Processes multiple aggregation pipelines within a single stage on the same set of input documents.
Expr::field() — Method in class Expr
Set the current field for building the expression.
Expr::filter() — Method in class Expr
Selects a subset of the array to return based on the specified condition.
Expr::first() — Method in class Expr
Returns the value that results from applying an expression to the first document in a group of documents that share the same group by key. Only meaningful when documents are in a defined order.
Expr::floor() — Method in class Expr
Returns the largest integer less than or equal to the specified number.
Stage::facet() — Method in class Stage
Processes multiple aggregation pipelines within a single stage on the same set of input documents.
AbstractOutput::field() — Method in class AbstractOutput
Set the current field for building the expression.
AbstractOutput::first() — Method in class AbstractOutput
Returns the value that results from applying an expression to the first document in a group of documents that share the same group by key. Only meaningful when documents are in a defined order.
FacetClass in namespace Doctrine\MongoDB\Aggregation\Stage
Fluent interface for adding a $facet stage to an aggregation pipeline.
Facet::field() — Method in class Facet
Set the current field for building the pipeline stage.
GraphLookup::from() — Method in class GraphLookup
Target collection for the $graphLookup operation to search, recursively matching the connectFromField to the connectToField.
Match::from() — Method in class Match
Target collection for the $graphLookup operation to search, recursively matching the connectFromField to the connectToField.
Group::field() — Method in class Group
Set the current field for building the expression.
Group::first() — Method in class Group
Returns the value that results from applying an expression to the first document in a group of documents that share the same group by key. Only meaningful when documents are in a defined order.
Lookup::from() — Method in class Lookup
Specifies the collection in the same database to perform the join with.
Lookup::foreignField() — Method in class Lookup
Specifies the field from the documents in the from collection.
Match::field() — Method in class Match
Set the current field for building the expression.
Operator::field() — Method in class Operator
Set the current field for building the expression.
Operator::filter() — Method in class Operator
Selects a subset of the array to return based on the specified condition.
Operator::floor() — Method in class Operator
Returns the largest integer less than or equal to the specified number.
ArrayIterator::first() — Method in class ArrayIterator
Return the first element in the array, or false if the array is empty.
Collection::find() — Method in class Collection
Wrapper method for MongoCollection::find().
Collection::findAndRemove() — Method in class Collection
Invokes the findAndModify command with the remove option.
Collection::findAndUpdate() — Method in class Collection
Invokes the findAndModify command with the update option.
Collection::findOne() — Method in class Collection
Wrapper method for MongoCollection::findOne().
$Cursor#fieldsProperty in class Cursor
Cursor::fields() — Method in class Cursor
Wrapper method for MongoCursor::fields().
CursorInterface::fields() — Method in class CursorInterface
Wrapper method for MongoCursor::fields().
Database::forceError() — Method in class Database
Wrapper method for MongoDB::forceError().
EagerCursor::fields() — Method in class EagerCursor
Wrapper method for MongoCursor::fields().
FindEventArgsClass in namespace Doctrine\MongoDB\Event
Event args for find queries.
Builder::field() — Method in class Builder
Set the current field for building the expression.
Builder::finalize() — Method in class Builder
Set the "finalize" option for a mapReduce or group command.
Builder::find() — Method in class Builder
Change the query type to find.
Builder::findAndRemove() — Method in class Builder
Change the query type to findAndRemove (uses the findAndModify command).
Builder::findAndUpdate() — Method in class Builder
Change the query type to findAndUpdate (uses the findAndModify command).
Expr::field() — Method in class Expr
Set the current field for building the expression.
LoggableCollectionTrait::find() — Method in class LoggableCollectionTrait
LoggableCollectionTrait::findAndRemove() — Method in class LoggableCollectionTrait
LoggableCollectionTrait::findAndUpdate() — Method in class LoggableCollectionTrait
LoggableCollectionTrait::findOne() — Method in class LoggableCollectionTrait

G

Builder::geoNear() — Method in class Builder
Outputs documents in order of nearest to farthest from a specified point.
Builder::getStage() — Method in class Builder
Returns a certain stage from the pipeline
Builder::getPipeline() — Method in class Builder
Returns the assembled aggregation pipeline
Builder::graphLookup() — Method in class Builder
Performs a recursive search on a collection, with options for restricting the search by recursion depth and query filter.
Builder::group() — Method in class Builder
Groups documents by some specified expression and outputs to the next stage a document for each distinct grouping.
Expr::getExpression() — Method in class Expr
Expr::gt() — Method in class Expr
Compares two values and returns: true when the first value is greater than the second value.
Expr::gte() — Method in class Expr
Compares two values and returns: true when the first value is greater than or equivalent to the second value.
Stage::getExpression() — Method in class Stage
Assembles the aggregation stage
Stage::geoNear() — Method in class Stage
Outputs documents in order of nearest to farthest from a specified point.
Stage::getPipeline() — Method in class Stage
Returns the assembled aggregation pipeline
Stage::graphLookup() — Method in class Stage
Performs a recursive search on a collection, with options for restricting the search by recursion depth and query filter.
Stage::group() — Method in class Stage
Groups documents by some specified expression and outputs to the next stage a document for each distinct grouping.
$AbstractBucket#groupByProperty in class AbstractBucket
AbstractBucket::groupBy() — Method in class AbstractBucket
An expression to group documents by. To specify a field path, prefix the field name with a dollar sign $ and enclose it in quotes.
AbstractBucket::getExpression() — Method in class AbstractBucket
Assembles the aggregation stage
AbstractBucket::getExtraPipelineFields() — Method in class AbstractBucket
AbstractBucket::getStageName() — Method in class AbstractBucket
Returns the stage name with the dollar prefix
AddFields::getExpression() — Method in class AddFields
Assembles the aggregation stage
Bucket::getExtraPipelineFields() — Method in class Bucket
Bucket::getStageName() — Method in class Bucket
Returns the stage name with the dollar prefix
BucketAuto::granularity() — Method in class BucketAuto
A string that specifies the preferred number series to use to ensure that the calculated boundary edges end on preferred round numbers or their powers of 10.
BucketAuto::getExtraPipelineFields() — Method in class BucketAuto
BucketAuto::getStageName() — Method in class BucketAuto
Returns the stage name with the dollar prefix
AbstractOutput::getExpression() — Method in class AbstractOutput
Assembles the aggregation stage
BucketAutoOutput::groupBy() — Method in class BucketAutoOutput
An expression to group documents by. To specify a field path, prefix the field name with a dollar sign $ and enclose it in quotes.
BucketAutoOutput::granularity() — Method in class BucketAutoOutput
A string that specifies the preferred number series to use to ensure that the calculated boundary edges end on preferred round numbers or their powers of 10.
BucketOutput::groupBy() — Method in class BucketOutput
An expression to group documents by. To specify a field path, prefix the field name with a dollar sign $ and enclose it in quotes.
CollStats::getExpression() — Method in class CollStats
Assembles the aggregation stage
Count::getExpression() — Method in class Count
Assembles the aggregation stage
Facet::getExpression() — Method in class Facet
Assembles the aggregation stage
GeoNearClass in namespace Doctrine\MongoDB\Aggregation\Stage
Fluent interface for adding a $geoNear stage to an aggregation pipeline.
GeoNear::getExpression() — Method in class GeoNear
Assembles the aggregation stage
GraphLookupClass in namespace Doctrine\MongoDB\Aggregation\Stage
Fluent interface for adding a $graphLookup stage to an aggregation pipeline.
GraphLookup::getExpression() — Method in class GraphLookup
Assembles the aggregation stage
Match::getExpression() — Method in class Match
Assembles the aggregation stage
GroupClass in namespace Doctrine\MongoDB\Aggregation\Stage
Fluent interface for adding a $group stage to an aggregation pipeline.
Group::getExpression() — Method in class Group
Assembles the aggregation stage
IndexStats::getExpression() — Method in class IndexStats
Assembles the aggregation stage
Limit::getExpression() — Method in class Limit
Assembles the aggregation stage
Lookup::getExpression() — Method in class Lookup
Assembles the aggregation stage
Match::getExpression() — Method in class Match
Assembles the aggregation stage
Match::geoIntersects() — Method in class Match
Add $geoIntersects criteria with a GeoJSON geometry to the query.
Match::geoWithin() — Method in class Match
Add $geoWithin criteria with a GeoJSON geometry to the query.
Match::geoWithinBox() — Method in class Match
Add $geoWithin criteria with a $box shape to the query.
Match::geoWithinCenter() — Method in class Match
Add $geoWithin criteria with a $center shape to the query.
Match::geoWithinCenterSphere() — Method in class Match
Add $geoWithin criteria with a $centerSphere shape to the query.
Match::geoWithinPolygon() — Method in class Match
Add $geoWithin criteria with a $polygon shape to the query.
Match::gt() — Method in class Match
Specify $gt criteria for the current field.
Match::gte() — Method in class Match
Specify $gte criteria for the current field.
Operator::gt() — Method in class Operator
Compares two values and returns: true when the first value is greater than the second value.
Operator::gte() — Method in class Operator
Compares two values and returns: true when the first value is greater than or equivalent to the second value.
Out::getExpression() — Method in class Out
Assembles the aggregation stage
Project::getExpression() — Method in class Project
Assembles the aggregation stage
Redact::getExpression() — Method in class Redact
Assembles the aggregation stage
ReplaceRoot::getExpression() — Method in class ReplaceRoot
Assembles the aggregation stage
Sample::getExpression() — Method in class Sample
Assembles the aggregation stage
Skip::getExpression() — Method in class Skip
Assembles the aggregation stage
Sort::getExpression() — Method in class Sort
Assembles the aggregation stage
SortByCount::getExpression() — Method in class SortByCount
Assembles the aggregation stage
Unwind::getExpression() — Method in class Unwind
Assembles the aggregation stage
ArrayIterator::getCommandResult() — Method in class ArrayIterator
Get the full result document for the MongoDB command (if available).
ArrayIterator::getSingleResult() — Method in class ArrayIterator
Collection::getDatabase() — Method in class Collection
Return the database for this collection.
Collection::getDBRef() — Method in class Collection
Wrapper method for MongoCollection::getDBRef().
Collection::getIndexInfo() — Method in class Collection
Wrapper method for MongoCollection::getIndexInfo().
Collection::getMongoCollection() — Method in class Collection
Return the MongoCollection instance being wrapped.
Collection::getName() — Method in class Collection
Wrapper method for MongoCollection::getName().
Collection::getReadPreference() — Method in class Collection
Wrapper method for MongoCollection::getReadPreference().
Collection::getSlaveOkay() — Method in class Collection
Get whether secondary read queries are allowed for this collection.
Collection::group() — Method in class Collection
Invokes the group command.
CommandCursor::getMongoCommandCursor() — Method in class CommandCursor
Returns the MongoCommandCursor instance being wrapped.
CommandCursor::getSingleResult() — Method in class CommandCursor
Rewind the cursor and return its first result.
Configuration::getLoggerCallable() — Method in class Configuration
Gets the logger callable.
Configuration::getMongoCmd() — Method in class Configuration
Get the MongoDB command prefix.
Configuration::getRetryConnect() — Method in class Configuration
Get the number of times to retry connection attempts after an exception.
Configuration::getRetryQuery() — Method in class Configuration
Get the number of times to retry queries after an exception.
Connection::getConfiguration() — Method in class Connection
Get the Configuration used by this Connection.
Connection::getEventManager() — Method in class Connection
Get the EventManager used by this Connection.
Connection::getMongo() — Method in class Connection
Get the MongoClient instance being wrapped.
Connection::getMongoClient() — Method in class Connection
Get the MongoClient instance being wrapped.
Connection::getReadPreference() — Method in class Connection
Wrapper method for MongoClient::getReadPreference().
Connection::getServer() — Method in class Connection
Get the server string.
Connection::getStatus() — Method in class Connection
Gets the $status property of the wrapped MongoClient instance.
Cursor::getCollection() — Method in class Cursor
Return the collection for this cursor.
Cursor::getConnection() — Method in class Cursor
Return the connection for this cursor.
Cursor::getFields() — Method in class Cursor
Return the selected fields (projection).
Cursor::getMongoCursor() — Method in class Cursor
Returns the MongoCursor instance being wrapped.
Cursor::getNext() — Method in class Cursor
Wrapper method for MongoCursor::getNext().
Cursor::getQuery() — Method in class Cursor
Return the query criteria.
Cursor::getReadPreference() — Method in class Cursor
Wrapper method for MongoCursor::getReadPreference().
Cursor::getSingleResult() — Method in class Cursor
Reset the cursor and return its first result.
Cursor::getUseIdentifierKeys() — Method in class Cursor
Return whether the document's "_id" value is used as its iteration key.
CursorInterface::getCollection() — Method in class CursorInterface
Return the collection for this cursor.
CursorInterface::getFields() — Method in class CursorInterface
Return the selected fields (projection).
CursorInterface::getNext() — Method in class CursorInterface
Wrapper method for MongoCursor::getNext().
CursorInterface::getQuery() — Method in class CursorInterface
Return the query criteria.
CursorInterface::getReadPreference() — Method in class CursorInterface
Wrapper method for MongoCursor::getReadPreference().
CursorInterface::getUseIdentifierKeys() — Method in class CursorInterface
Return whether the document's "_id" value is used as its iteration key.
Database::getConnection() — Method in class Database
Return the connection for this database.
Database::getDBRef() — Method in class Database
Wrapper method for MongoDB::getDBRef().
Database::getGridFS() — Method in class Database
Wrapper method for MongoDB::getGridFS().
Database::getMongoDB() — Method in class Database
Return the MongoDB instance being wrapped.
Database::getName() — Method in class Database
Return the name of this database.
Database::getProfilingLevel() — Method in class Database
Wrapper method for MongoDB::getProfilingLevel().
Database::getReadPreference() — Method in class Database
Wrapper method for MongoDB::getReadPreference().
Database::getSlaveOkay() — Method in class Database
Get whether secondary read queries are allowed for this database.
EagerCursor::getCursor() — Method in class EagerCursor
Return the wrapped Cursor.
EagerCursor::getSingleResult() — Method in class EagerCursor
EagerCursor::getCollection() — Method in class EagerCursor
Return the collection for this cursor.
EagerCursor::getFields() — Method in class EagerCursor
Return the selected fields (projection).
EagerCursor::getNext() — Method in class EagerCursor
Wrapper method for MongoCursor::getNext().
EagerCursor::getQuery() — Method in class EagerCursor
Return the query criteria.
EagerCursor::getReadPreference() — Method in class EagerCursor
Wrapper method for MongoCursor::getReadPreference().
EagerCursor::getUseIdentifierKeys() — Method in class EagerCursor
Return whether the document's "_id" value is used as its iteration key.
AggregateEventArgs::getInvoker() — Method in class AggregateEventArgs
AggregateEventArgs::getPipeline() — Method in class AggregateEventArgs
AggregateEventArgs::getOptions() — Method in class AggregateEventArgs
CreateCollectionEventArgs::getInvoker() — Method in class CreateCollectionEventArgs
CreateCollectionEventArgs::getName() — Method in class CreateCollectionEventArgs
CreateCollectionEventArgs::getOptions() — Method in class CreateCollectionEventArgs
CreateCollectionEventArgs::getCapped() — Method in class CreateCollectionEventArgs
CreateCollectionEventArgs::getSize() — Method in class CreateCollectionEventArgs
CreateCollectionEventArgs::getMax() — Method in class CreateCollectionEventArgs
DistinctEventArgs::getInvoker() — Method in class DistinctEventArgs
DistinctEventArgs::getField() — Method in class DistinctEventArgs
DistinctEventArgs::getQuery() — Method in class DistinctEventArgs
EventArgs::getInvoker() — Method in class EventArgs
EventArgs::getData() — Method in class EventArgs
EventArgs::getOptions() — Method in class EventArgs
FindEventArgs::getInvoker() — Method in class FindEventArgs
FindEventArgs::getQuery() — Method in class FindEventArgs
FindEventArgs::getFields() — Method in class FindEventArgs
GroupEventArgsClass in namespace Doctrine\MongoDB\Event
Event args for the group command.
GroupEventArgs::getInvoker() — Method in class GroupEventArgs
GroupEventArgs::getKeys() — Method in class GroupEventArgs
GroupEventArgs::getInitial() — Method in class GroupEventArgs
GroupEventArgs::getReduce() — Method in class GroupEventArgs
GroupEventArgs::getOptions() — Method in class GroupEventArgs
MapReduceEventArgs::getInvoker() — Method in class MapReduceEventArgs
MapReduceEventArgs::getMap() — Method in class MapReduceEventArgs
MapReduceEventArgs::getReduce() — Method in class MapReduceEventArgs
MapReduceEventArgs::getOut() — Method in class MapReduceEventArgs
MapReduceEventArgs::getQuery() — Method in class MapReduceEventArgs
MapReduceEventArgs::getOptions() — Method in class MapReduceEventArgs
MutableEventArgs::getData() — Method in class MutableEventArgs
MutableEventArgs::getOptions() — Method in class MutableEventArgs
NearEventArgs::getInvoker() — Method in class NearEventArgs
NearEventArgs::getQuery() — Method in class NearEventArgs
NearEventArgs::getNear() — Method in class NearEventArgs
NearEventArgs::getOptions() — Method in class NearEventArgs
UpdateEventArgs::getInvoker() — Method in class UpdateEventArgs
UpdateEventArgs::getQuery() — Method in class UpdateEventArgs
UpdateEventArgs::getNewObj() — Method in class UpdateEventArgs
UpdateEventArgs::getOptions() — Method in class UpdateEventArgs
ResultException::getDocument() — Method in class ResultException
Get the command result document.
GridFSClass in namespace Doctrine\MongoDB
Wrapper for the MongoGridFS class.
GridFS::getMongoCollection() — Method in class GridFS
Return the MongoGridFS instance being wrapped.
GridFSFileClass in namespace Doctrine\MongoDB
Wrapper for the MongoGridFSFile class.
GridFSFile::getBytes() — Method in class GridFSFile
Get the bytes for this file.
GridFSFile::getFilename() — Method in class GridFSFile
Get the filename for this file.
GridFSFile::getMongoGridFSFile() — Method in class GridFSFile
Get the PHP MongoGridFSFile instance being wrapped.
GridFSFile::getSize() — Method in class GridFSFile
Get the size of this file.
Iterator::getSingleResult() — Method in class Iterator
Return the first element or null if no elements exist.
IteratorAggregate::getSingleResult() — Method in class IteratorAggregate
Return the first element or null if no elements exist.
LoggableCursor::getLoggerCallable() — Method in class LoggableCursor
Get the logger callable.
LoggableDatabase::getDBRef() — Method in class LoggableDatabase
Builder::geoIntersects() — Method in class Builder
Add $geoIntersects criteria with a GeoJSON geometry to the query.
Builder::geoNear() — Method in class Builder
Change the query type to a geoNear command.
Builder::geoWithin() — Method in class Builder
Add $geoWithin criteria with a GeoJSON geometry to the query.
Builder::geoWithinBox() — Method in class Builder
Add $geoWithin criteria with a $box shape to the query.
Builder::geoWithinCenter() — Method in class Builder
Add $geoWithin criteria with a $center shape to the query.
Builder::geoWithinCenterSphere() — Method in class Builder
Add $geoWithin criteria with a $centerSphere shape to the query.
Builder::geoWithinPolygon() — Method in class Builder
Add $geoWithin criteria with a $polygon shape to the query.
Builder::getNewObj() — Method in class Builder
Return the expression's "new object".
Builder::getQuery() — Method in class Builder
Create a new Query instance from the Builder state.
Builder::getQueryArray() — Method in class Builder
Return the expression's query criteria.
Builder::getType() — Method in class Builder
Get the type of this query.
Builder::group() — Method in class Builder
Change the query type to a group command.
Builder::gt() — Method in class Builder
Specify $gt criteria for the current field.
Builder::gte() — Method in class Builder
Specify $gte criteria for the current field.
Expr::geoIntersects() — Method in class Expr
Add $geoIntersects criteria with a GeoJSON geometry to the expression.
Expr::geoWithin() — Method in class Expr
Add $geoWithin criteria with a GeoJSON geometry to the expression.
Expr::geoWithinBox() — Method in class Expr
Add $geoWithin criteria with a $box shape to the expression.
Expr::geoWithinCenter() — Method in class Expr
Add $geoWithin criteria with a $center shape to the expression.
Expr::geoWithinCenterSphere() — Method in class Expr
Add $geoWithin criteria with a $centerSphere shape to the expression.
Expr::geoWithinPolygon() — Method in class Expr
Add $geoWithin criteria with a $polygon shape to the expression.
Expr::getCurrentField() — Method in class Expr
Return the current field.
Expr::getNewObj() — Method in class Expr
Return the "new object".
Expr::getQuery() — Method in class Expr
Return the query criteria.
Expr::gt() — Method in class Expr
Specify $gt criteria for the current field.
Expr::gte() — Method in class Expr
Specify $gte criteria for the current field.
Query::getIterator() — Method in class Query
Execute the query and return its result, which must be an Iterator.
Query::getQuery() — Method in class Query
Return the query structure.
Query::getSingleResult() — Method in class Query
Execute the query and return the first result.
Query::getType() — Method in class Query
Return the query type.
LoggableCollectionTrait::getDBRef() — Method in class LoggableCollectionTrait
LoggableCollectionTrait::getIndexInfo() — Method in class LoggableCollectionTrait
LoggableCollectionTrait::group() — Method in class LoggableCollectionTrait

H

Expr::hour() — Method in class Expr
Returns the hour portion of a date as a number between 0 and 23.
Operator::hour() — Method in class Operator
Returns the hour portion of a date as a number between 0 and 23.
$Cursor#hintProperty in class Cursor
Cursor::hasNext() — Method in class Cursor
Wrapper method for MongoCursor::hasNext().
Cursor::hint() — Method in class Cursor
Wrapper method for MongoCursor::hint().
CursorInterface::hasNext() — Method in class CursorInterface
Wrapper method for MongoCursor::hasNext().
CursorInterface::hint() — Method in class CursorInterface
Wrapper method for MongoCursor::hint().
EagerCursor::hasNext() — Method in class EagerCursor
Wrapper method for MongoCursor::hasNext().
EagerCursor::hint() — Method in class EagerCursor
Wrapper method for MongoCursor::hint().
GridFSFile::hasUnpersistedBytes() — Method in class GridFSFile
Check whether there are unpersisted bytes.
GridFSFile::hasUnpersistedFile() — Method in class GridFSFile
Check whether there is an unpersisted file.
LoggableCursor::hint() — Method in class LoggableCursor
Builder::hint() — Method in class Builder
Set the index hint for the query.

I

Builder::indexStats() — Method in class Builder
Returns statistics regarding the use of each index for the collection.
Expr::ifNull() — Method in class Expr
Evaluates an expression and returns the value of the expression if the expression evaluates to a non-null value. If the expression evaluates to a null value, including instances of undefined values or missing fields, returns the value of the replacement expression.
Expr::in() — Method in class Expr
Returns a boolean indicating whether a specified value is in an array.
Expr::indexOfArray() — Method in class Expr
Searches an array for an occurence of a specified value and returns the array index (zero-based) of the first occurence. If the value is not found, returns -1.
Expr::indexOfBytes() — Method in class Expr
Searches a string for an occurence of a substring and returns the UTF-8 byte index (zero-based) of the first occurence. If the substring is not found, returns -1.
Expr::indexOfCP() — Method in class Expr
Searches a string for an occurence of a substring and returns the UTF-8 code point index (zero-based) of the first occurence. If the substring is not found, returns -1.
Expr::isArray() — Method in class Expr
Determines if the operand is an array. Returns a boolean.
Expr::isoDayOfWeek() — Method in class Expr
Returns the weekday number in ISO 8601 format, ranging from 1 (for Monday) to 7 (for Sunday).
Expr::isoWeek() — Method in class Expr
Returns the week number in ISO 8601 format, ranging from 1 to 53.
Expr::isoWeekYear() — Method in class Expr
Returns the year number in ISO 8601 format.
Stage::indexStats() — Method in class Stage
Returns statistics regarding the use of each index for the collection.
GeoNear::includeLocs() — Method in class GeoNear
This specifies the output field that identifies the location used to calculate the distance.
IndexStatsClass in namespace Doctrine\MongoDB\Aggregation\Stage
Fluent interface for adding a $indexStats stage to an aggregation pipeline.
Match::in() — Method in class Match
Specify $in criteria for the current field.
Operator::in() — Method in class Operator
Returns a boolean indicating whether a specified value is in an array.
Operator::indexOfArray() — Method in class Operator
Searches an array for an occurence of a specified value and returns the array index (zero-based) of the first occurence. If the value is not found, returns -1.
Operator::indexOfBytes() — Method in class Operator
Searches a string for an occurence of a substring and returns the UTF-8 byte index (zero-based) of the first occurence. If the substring is not found, returns -1.
Operator::indexOfCP() — Method in class Operator
Searches a string for an occurence of a substring and returns the UTF-8 code point index (zero-based) of the first occurence. If the substring is not found, returns -1.
Operator::ifNull() — Method in class Operator
Evaluates an expression and returns the value of the expression if the expression evaluates to a non-null value. If the expression evaluates to a null value, including instances of undefined values or missing fields, returns the value of the replacement expression.
Operator::isArray() — Method in class Operator
Determines if the operand is an array. Returns a boolean.
Operator::isoDayOfWeek() — Method in class Operator
Returns the weekday number in ISO 8601 format, ranging from 1 (for Monday) to 7 (for Sunday).
Operator::isoWeek() — Method in class Operator
Returns the week number in ISO 8601 format, ranging from 1 to 53.
Operator::isoWeekYear() — Method in class Operator
Returns the year number in ISO 8601 format.
Project::includeFields() — Method in class Project
Shorthand method to define which fields to be included.
Unwind::includeArrayIndex() — Method in class Unwind
The name of a new field to hold the array index of the element. The name cannot start with a dollar sign $.
Collection::insert() — Method in class Collection
Wrapper method for MongoCollection::insert().
Collection::isFieldIndexed() — Method in class Collection
Check if a given field name is indexed in MongoDB.
CommandCursor::info() — Method in class CommandCursor
Wrapper method for MongoCommandCursor::info().
Connection::initialize() — Method in class Connection
Construct the wrapped MongoClient instance if necessary.
Connection::isConnected() — Method in class Connection
Checks whether the connection is initialized and connected.
$Cursor#immortalProperty in class Cursor
Cursor::immortal() — Method in class Cursor
Wrapper method for MongoCursor::immortal().
Cursor::info() — Method in class Cursor
Wrapper method for MongoCursor::info().
CursorInterface::immortal() — Method in class CursorInterface
Wrapper method for MongoCursor::immortal().
CursorInterface::info() — Method in class CursorInterface
Wrapper method for MongoCursor::info().
$EagerCursor#initializedProperty in class EagerCursor
Whether the internal data has been initialized.
EagerCursor::initialize() — Method in class EagerCursor
Initialize the internal data by converting the Cursor to an array.
EagerCursor::isInitialized() — Method in class EagerCursor
Return whether the internal data has been initialized.
EagerCursor::immortal() — Method in class EagerCursor
Wrapper method for MongoCursor::immortal().
EagerCursor::info() — Method in class EagerCursor
Wrapper method for MongoCursor::info().
MutableEventArgs::isDataChanged() — Method in class MutableEventArgs
MutableEventArgs::isOptionsChanged() — Method in class MutableEventArgs
GridFSFile::isDirty() — Method in class GridFSFile
Check whether the file is dirty.
IteratorClass in namespace Doctrine\MongoDB
Iterator interface.
IteratorAggregateClass in namespace Doctrine\MongoDB
IteratorAggregate interface.
Builder::immortal() — Method in class Builder
Set the immortal cursor flag.
Builder::in() — Method in class Builder
Specify $in criteria for the current field.
Builder::inc() — Method in class Builder
Increment the current field.
Builder::insert() — Method in class Builder
Change the query type to insert.
Expr::in() — Method in class Expr
Specify $in criteria for the current field.
Expr::inc() — Method in class Expr
Increment the current field.
$Query#iteratorProperty in class Query
Query::iterate() — Method in class Query
Alias of {@link Query::getIterator()}.
LoggableCollectionTrait::insert() — Method in class LoggableCollectionTrait

K

ArrayIterator::key() — Method in class ArrayIterator
CommandCursor::key() — Method in class CommandCursor
Wrapper method for MongoCommandCursor::key().
Cursor::key() — Method in class Cursor
Wrapper method for MongoCursor::key().
EagerCursor::key() — Method in class EagerCursor

L

Builder::limit() — Method in class Builder
Limits the number of documents passed to the next stage in the pipeline.
Builder::lookup() — Method in class Builder
Performs a left outer join to an unsharded collection in the same database to filter in documents from the “joined” collection for processing.
Expr::last() — Method in class Expr
Returns the value that results from applying an expression to the last document in a group of documents that share the same group by a field.
Expr::let() — Method in class Expr
Binds variables for use in the specified expression, and returns the result of the expression.
Expr::literal() — Method in class Expr
Returns a value without parsing. Use for values that the aggregation pipeline may interpret as an expression.
Expr::ln() — Method in class Expr
Calculates the natural logarithm ln (i.e loge) of a number and returns the result as a double.
Expr::log() — Method in class Expr
Calculates the log of a number in the specified base and returns the result as a double.
Expr::log10() — Method in class Expr
Calculates the log base 10 of a number and returns the result as a double.
Expr::lt() — Method in class Expr
Compares two values and returns: true when the first value is less than the second value.
Expr::lte() — Method in class Expr
Compares two values and returns: true when the first value is less than or equivalent to the second value.
Stage::limit() — Method in class Stage
Limits the number of documents passed to the next stage in the pipeline.
Stage::lookup() — Method in class Stage
Performs a left outer join to an unsharded collection in the same database to filter in documents from the “joined” collection for processing.
AbstractOutput::last() — Method in class AbstractOutput
Returns the value that results from applying an expression to the last document in a group of documents that share the same group by a field.
GeoNear::limit() — Method in class GeoNear
The maximum number of documents to return.
Group::last() — Method in class Group
Returns the value that results from applying an expression to the last document in a group of documents that share the same group by a field.
LimitClass in namespace Doctrine\MongoDB\Aggregation\Stage
Fluent interface for adding a $limit stage to an aggregation pipeline.
LookupClass in namespace Doctrine\MongoDB\Aggregation\Stage
Fluent interface for adding a $lookup stage to an aggregation pipeline.
Lookup::localField() — Method in class Lookup
Specifies the field from the documents input to the $lookup stage.
Match::language() — Method in class Match
Set the $language option for $text criteria.
Match::lt() — Method in class Match
Specify $lt criteria for the current field.
Match::lte() — Method in class Match
Specify $lte criteria for the current field.
Operator::let() — Method in class Operator
Binds variables for use in the specified expression, and returns the result of the expression.
Operator::literal() — Method in class Operator
Returns a value without parsing. Use for values that the aggregation pipeline may interpret as an expression.
Operator::ln() — Method in class Operator
Calculates the natural logarithm ln (i.e loge) of a number and returns the result as a double.
Operator::log() — Method in class Operator
Calculates the log of a number in the specified base and returns the result as a double.
Operator::log10() — Method in class Operator
Calculates the log base 10 of a number and returns the result as a double.
Operator::lt() — Method in class Operator
Compares two values and returns: true when the first value is less than the second value.
Operator::lte() — Method in class Operator
Compares two values and returns: true when the first value is less than or equivalent to the second value.
ArrayIterator::last() — Method in class ArrayIterator
Return the last element in the array, or false if the array is empty.
Connection::listDatabases() — Method in class Connection
Wrapper method for MongoClient::listDBs().
Connection::log() — Method in class Connection
Log something using the configured logger callable (if available).
$Cursor#limitProperty in class Cursor
Cursor::limit() — Method in class Cursor
Wrapper method for MongoCursor::limit().
CursorInterface::limit() — Method in class CursorInterface
Wrapper method for MongoCursor::limit().
Database::lastError() — Method in class Database
Wrapper method for MongoDB::lastError().
Database::listCollections() — Method in class Database
Wrapper method for MongoDB::listCollections().
EagerCursor::limit() — Method in class EagerCursor
Wrapper method for MongoCursor::limit().
LoggableClass in namespace Doctrine\MongoDB
Loggable interface.
Loggable::log() — Method in class Loggable
Log something using the configured logger callable.
LoggableCollectionClass in namespace Doctrine\MongoDB
Wrapper for the MongoCollection class with logging functionality.
LoggableCursorClass in namespace Doctrine\MongoDB
Wrapper for the MongoCursor class with logging functionality.
$LoggableCursor#loggerCallableProperty in class LoggableCursor
The logger callable.
LoggableCursor::log() — Method in class LoggableCursor
Log something using the configured logger callable.
LoggableCursor::limit() — Method in class LoggableCursor
LoggableDatabaseClass in namespace Doctrine\MongoDB
Wrapper for the MongoDB class with logging functionality.
$LoggableDatabase#loggerCallableProperty in class LoggableDatabase
The logger callable.
LoggableDatabase::log() — Method in class LoggableDatabase
Log something using the configured logger callable.
LoggableGridFSClass in namespace Doctrine\MongoDB
Builder::language() — Method in class Builder
Set the $language option for $text criteria.
Builder::limit() — Method in class Builder
Set the limit for the query.
Builder::lt() — Method in class Builder
Specify $lt criteria for the current field.
Builder::lte() — Method in class Builder
Specify $lte criteria for the current field.
Expr::language() — Method in class Expr
Set the $language option for $text criteria.
Expr::lt() — Method in class Expr
Specify $lt criteria for the current field.
Expr::lte() — Method in class Expr
Specify $lte criteria for the current field.
LoggableCollectionTraitClass in namespace Doctrine\MongoDB\Traits
{@internal It's used by loggable collection classes }}
$LoggableCollectionTrait#loggerCallableProperty in class LoggableCollectionTrait
The logger callable.
LoggableCollectionTrait::log() — Method in class LoggableCollectionTrait
Log something using the configured logger callable.

M

Builder::match() — Method in class Builder
Filters the documents to pass only the documents that match the specified condition(s) to the next pipeline stage.
Builder::matchExpr() — Method in class Builder
Returns a query expression to be used in match stages
Expr::map() — Method in class Expr
Applies an expression to each item in an array and returns an array with the applied results.
Expr::max() — Method in class Expr
Returns the highest value that results from applying an expression to each document in a group of documents that share the same group by key.
Expr::meta() — Method in class Expr
Returns the metadata associated with a document in a pipeline operations.
Expr::millisecond() — Method in class Expr
Returns the millisecond portion of a date as an integer between 0 and 999.
Expr::min() — Method in class Expr
Returns the lowest value that results from applying an expression to each document in a group of documents that share the same group by key.
Expr::minute() — Method in class Expr
Returns the minute portion of a date as a number between 0 and 59.
Expr::mod() — Method in class Expr
Divides one number by another and returns the remainder. The first argument is divided by the second argument.
Expr::month() — Method in class Expr
Returns the month of a date as a number between 1 and 12.
Expr::multiply() — Method in class Expr
Multiplies numbers together and returns the result.
Stage::match() — Method in class Stage
Filters the documents to pass only the documents that match the specified condition(s) to the next pipeline stage.
AbstractOutput::max() — Method in class AbstractOutput
Returns the highest value that results from applying an expression to each document in a group of documents that share the same group by key.
AbstractOutput::min() — Method in class AbstractOutput
Returns the lowest value that results from applying an expression to each document in a group of documents that share the same group by key.
GeoNear::maxDistance() — Method in class GeoNear
The maximum distance from the center point that the documents can be.
GeoNear::minDistance() — Method in class GeoNear
The minimum distance from the center point that the documents can be.
GraphLookup::maxDepth() — Method in class GraphLookup
Non-negative integral number specifying the maximum recursion depth.
MatchClass in namespace Doctrine\MongoDB\Aggregation\Stage\GraphLookup
Match::maxDepth() — Method in class Match
Non-negative integral number specifying the maximum recursion depth.
Group::max() — Method in class Group
Returns the highest value that results from applying an expression to each document in a group of documents that share the same group by key.
Group::min() — Method in class Group
Returns the lowest value that results from applying an expression to each document in a group of documents that share the same group by key.
MatchClass in namespace Doctrine\MongoDB\Aggregation\Stage
Fluent interface for adding a $match stage to an aggregation pipeline.
Match::maxDistance() — Method in class Match
Add $maxDistance criteria to the query.
Match::minDistance() — Method in class Match
Add $minDistance criteria to the query.
Match::mod() — Method in class Match
Specify $mod criteria for the current field.
Operator::map() — Method in class Operator
Applies an expression to each item in an array and returns an array with the applied results.
Operator::meta() — Method in class Operator
Returns the metadata associated with a document in a pipeline operations.
Operator::millisecond() — Method in class Operator
Returns the millisecond portion of a date as an integer between 0 and 999.
Operator::minute() — Method in class Operator
Returns the minute portion of a date as a number between 0 and 59.
Operator::mod() — Method in class Operator
Divides one number by another and returns the remainder. The first argument is divided by the second argument.
Operator::month() — Method in class Operator
Returns the month of a date as a number between 1 and 12.
Operator::multiply() — Method in class Operator
Multiplies numbers together and returns the result.
Project::max() — Method in class Project
Returns the highest value that results from applying an expression to each document in a group of documents that share the same group by key.
Project::min() — Method in class Project
Returns the lowest value that results from applying an expression to each document in a group of documents that share the same group by key.
$Collection#mongoCollectionProperty in class Collection
The MongoCollection instance being wrapped.
Collection::mapReduce() — Method in class Collection
Invokes the mapReduce command.
$Connection#mongoClientProperty in class Connection
The PHP MongoClient instance being wrapped.
$Cursor#mongoCursorProperty in class Cursor
The MongoCursor instance being wrapped.
$Cursor#maxTimeMSProperty in class Cursor
Cursor::maxTimeMS() — Method in class Cursor
Wrapper method for MongoCursor::maxTimeMS().
$Database#mongoDBProperty in class Database
The MongoDB instance being wrapped.
EagerCursor::maxTimeMS() — Method in class EagerCursor
{@inheritdoc}
MapReduceEventArgsClass in namespace Doctrine\MongoDB\Event
Event args for the mapReduce command.
MutableEventArgsClass in namespace Doctrine\MongoDB\Event
Mutable event args for query and command results.
$GridFS#mongoCollectionProperty in class GridFS
The MongoGridFS instance being wrapped.
LoggableCursor::maxTimeMS() — Method in class LoggableCursor
Builder::map() — Method in class Builder
Change the query type to a mapReduce command.
Builder::mapReduce() — Method in class Builder
Change the query type to a mapReduce command.
Builder::mapReduceOptions() — Method in class Builder
Set additional options for a mapReduce command.
Builder::max() — Method in class Builder
Updates the value of the field to a specified value if the specified value is greater than the current value of the field.
Builder::maxDistance() — Method in class Builder
Set the "maxDistance" option for a geoNear command query or add $maxDistance criteria to the query.
Builder::maxTimeMS() — Method in class Builder
Specifies a cumulative time limit in milliseconds for processing operations on a cursor.
Builder::min() — Method in class Builder
Updates the value of the field to a specified value if the specified value is less than the current value of the field.
Builder::minDistance() — Method in class Builder
Set the "minDistance" option for a geoNear command query or add $minDistance criteria to the query.
Builder::mod() — Method in class Builder
Specify $mod criteria for the current field.
Builder::mul() — Method in class Builder
Multiply the current field.
Builder::multiple() — Method in class Builder
Set the "multiple" option for an update query.
Expr::max() — Method in class Expr
Updates the value of the field to a specified value if the specified value is greater than the current value of the field.
Expr::maxDistance() — Method in class Expr
Set the $maxDistance option for $near or $nearSphere criteria.
Expr::min() — Method in class Expr
Updates the value of the field to a specified value if the specified value is less than the current value of the field.
Expr::minDistance() — Method in class Expr
Set the $minDistance option for $near or $nearSphere criteria.
Expr::mod() — Method in class Expr
Specify $mod criteria for the current field.
Expr::mul() — Method in class Expr
Multiply the current field.
LoggableCollectionTrait::mapReduce() — Method in class LoggableCollectionTrait

N

Expr::ne() — Method in class Expr
Compares two values and returns: true when the values are not equivalent.
Expr::not() — Method in class Expr
Evaluates a boolean and returns the opposite boolean value.
GeoNear::near() — Method in class GeoNear
The point for which to find the closest documents.
GeoNear::num() — Method in class GeoNear
The maximum number of documents to return.
Match::not() — Method in class Match
Negates an expression for the current field.
Match::notEqual() — Method in class Match
Specify $ne criteria for the current field.
Match::notIn() — Method in class Match
Specify $nin criteria for the current field.
Operator::ne() — Method in class Operator
Compares two values and returns: true when the values are not equivalent.
Operator::not() — Method in class Operator
Evaluates a boolean and returns the opposite boolean value.
ArrayIterator::next() — Method in class ArrayIterator
$Collection#numRetriesProperty in class Collection
Number of times to retry queries.
Collection::near() — Method in class Collection
Invokes the geoNear command.
CommandCursor::next() — Method in class CommandCursor
Wrapper method for MongoCommandCursor::next().
$Cursor#numRetriesProperty in class Cursor
Number of times to retry queries.
Cursor::next() — Method in class Cursor
Wrapper method for MongoCursor::next().
$Database#numRetriesProperty in class Database
Number of times to retry queries.
EagerCursor::next() — Method in class EagerCursor
NearEventArgsClass in namespace Doctrine\MongoDB\Event
Event args for the geoNear command.
Builder::near() — Method in class Builder
Add $near criteria to the query.
Builder::nearSphere() — Method in class Builder
Add $nearSphere criteria to the query.
Builder::not() — Method in class Builder
Negates an expression for the current field.
Builder::notEqual() — Method in class Builder
Specify $ne criteria for the current field.
Builder::notIn() — Method in class Builder
Specify $nin criteria for the current field.
$Expr#newObjProperty in class Expr
The "new object" array containing either a full document or a number of atomic update operators.
Expr::near() — Method in class Expr
Add $near criteria to the expression.
Expr::nearSphere() — Method in class Expr
Add $nearSphere criteria to the expression.
Expr::not() — Method in class Expr
Negates an expression for the current field.
Expr::notEqual() — Method in class Expr
Specify $ne criteria for the current field.
Expr::notIn() — Method in class Expr
Specify $nin criteria for the current field.
LoggableCollectionTrait::near() — Method in class LoggableCollectionTrait

O

Builder::out() — Method in class Builder
Takes the documents returned by the aggregation pipeline and writes them to a specified collection. This must be the last stage in the pipeline.
Stage::out() — Method in class Stage
Takes the documents returned by the aggregation pipeline and writes them to a specified collection. This must be the last stage in the pipeline.
$AbstractBucket#outputProperty in class AbstractBucket
Bucket::output() — Method in class Bucket
A document that specifies the fields to include in the output documents in addition to the _id field. To specify the field to include, you must use accumulator expressions.
BucketAuto::output() — Method in class BucketAuto
A document that specifies the fields to include in the output documents in addition to the _id field. To specify the field to include, you must use accumulator expressions.
OperatorClass in namespace Doctrine\MongoDB\Aggregation\Stage
Fluent interface for adding operators to aggregation stages.
OutClass in namespace Doctrine\MongoDB\Aggregation\Stage
Fluent interface for adding a $out stage to an aggregation pipeline.
Out::out() — Method in class Out
Takes the documents returned by the aggregation pipeline and writes them to a specified collection. This must be the last stage in the pipeline.
ArrayIterator::offsetExists() — Method in class ArrayIterator
ArrayIterator::offsetGet() — Method in class ArrayIterator
ArrayIterator::offsetSet() — Method in class ArrayIterator
ArrayIterator::offsetUnset() — Method in class ArrayIterator
$Connection#optionsProperty in class Connection
Options used to construct the MongoClient instance (optional).
$Cursor#optionsProperty in class Cursor
Builder::out() — Method in class Builder
Set the "out" option for a mapReduce command.
Expr::operator() — Method in class Expr
Defines an operator and value on the expression.
$Query#optionsProperty in class Query
Query options

P

Builder::project() — Method in class Builder
Passes along the documents with only the specified fields to the next stage in the pipeline. The specified fields can be existing fields from the input documents or newly computed fields.
Expr::pow() — Method in class Expr
Raises a number to the specified exponent and returns the result.
Expr::push() — Method in class Expr
Returns an array of all values that result from applying an expression to each document in a group of documents that share the same group by key.
Stage::project() — Method in class Stage
Passes along the documents with only the specified fields to the next stage in the pipeline. The specified fields can be existing fields from the input documents or newly computed fields.
AbstractOutput::push() — Method in class AbstractOutput
Returns an array of all values that result from applying an expression to each document in a group of documents that share the same group by key.
Facet::pipeline() — Method in class Facet
Use the given pipeline for the current field.
Group::push() — Method in class Group
Returns an array of all values that result from applying an expression to each document in a group of documents that share the same group by key.
Operator::pow() — Method in class Operator
Raises a number to the specified exponent and returns the result.
ProjectClass in namespace Doctrine\MongoDB\Aggregation\Stage
Fluent interface for adding a $project stage to an aggregation pipeline.
Unwind::preserveNullAndEmptyArrays() — Method in class Unwind
If true, if the path is null, missing, or an empty array, $unwind outputs the document.
Collection::parallelCollectionScan() — Method in class Collection
Wrapper method for MongoCollection::parallelCollectionScan()
Database::prevError() — Method in class Database
Wrapper method for MongoDB::prevError().
Builder::popFirst() — Method in class Builder
Remove the first element from the current array field.
Builder::popLast() — Method in class Builder
Remove the last element from the current array field.
Builder::pull() — Method in class Builder
Remove all elements matching the given value or expression from the current array field.
Builder::pullAll() — Method in class Builder
Remove all elements matching any of the given values from the current array field.
Builder::push() — Method in class Builder
Append one or more values to the current array field.
Builder::pushAll() — Method in class Builder
Append multiple values to the current array field.
Expr::popFirst() — Method in class Expr
Remove the first element from the current array field.
Expr::popLast() — Method in class Expr
Remove the last element from the current array field.
Expr::position() — Method in class Expr
Add $position criteria to the expression for a $push operation.
Expr::pull() — Method in class Expr
Remove all elements matching the given value or expression from the current array field.
Expr::pullAll() — Method in class Expr
Remove all elements matching any of the given values from the current array field.
Expr::push() — Method in class Expr
Append one or more values to the current array field.
Expr::pushAll() — Method in class Expr
Append multiple values to the current array field.
Query::prepareCursor() — Method in class Query
Prepare the Cursor returned by {@link Query::execute()}.

Q

$Match#queryProperty in class Match
$Cursor#queryProperty in class Cursor
$Builder#queryProperty in class Builder
Array containing the query data.
$Expr#queryProperty in class Expr
The query criteria array.
QueryClass in namespace Doctrine\MongoDB\Query
Query class used in conjunction with the Builder class for executing queries or commands and returning results.
$Query#queryProperty in class Query
Query structure generated by the Builder class.

R

Builder::redact() — Method in class Builder
Restricts the contents of the documents based on information stored in the documents themselves.
Builder::replaceRoot() — Method in class Builder
Promotes a specified document to the top level and replaces all other fields.
Expr::range() — Method in class Expr
Returns an array whose elements are a generated sequence of numbers.
Expr::reduce() — Method in class Expr
Applies an expression to each element in an array and combines them into a single value.
Expr::reverseArray() — Method in class Expr
Accepts an array expression as an argument and returns an array with the elements in reverse order.
Stage::redact() — Method in class Stage
Restricts the contents of the documents based on information stored in the documents themselves.
Stage::replaceRoot() — Method in class Stage
Promotes a specified document to the top level and replaces all other fields.
GraphLookup::restrictSearchWithMatch() — Method in class GraphLookup
A document specifying additional conditions for the recursive search.
Match::range() — Method in class Match
Specify $gte and $lt criteria for the current field.
Operator::range() — Method in class Operator
Returns an array whose elements are a generated sequence of numbers.
Operator::reduce() — Method in class Operator
Applies an expression to each element in an array and combines them into a single value.
Operator::reverseArray() — Method in class Operator
Accepts an array expression as an argument and returns an array with the elements in reverse order.
RedactClass in namespace Doctrine\MongoDB\Aggregation\Stage
Fluent interface for adding a $redact stage to an aggregation pipeline.
ReplaceRootClass in namespace Doctrine\MongoDB\Aggregation\Stage
Fluent interface for adding a $replaceRoot stage to an aggregation pipeline.
ArrayIterator::reset() — Method in class ArrayIterator
Alias of {@link ArrayIterator::rewind()}.
ArrayIterator::rewind() — Method in class ArrayIterator
Collection::remove() — Method in class Collection
Wrapper method for MongoCollection::remove().
Collection::retry() — Method in class Collection
Conditionally retry a closure if it yields an exception.
CommandCursor::rewind() — Method in class CommandCursor
Wrapper method for MongoCommandCursor::rewind().
CommandCursor::retry() — Method in class CommandCursor
Conditionally retry a closure if it yields an exception.
Connection::retry() — Method in class Connection
Conditionally retry a closure if it yields an exception.
$Cursor#readPreferenceProperty in class Cursor
$Cursor#readPreferenceTagsProperty in class Cursor
Cursor::recreate() — Method in class Cursor
Recreates the internal MongoCursor.
Cursor::reset() — Method in class Cursor
Wrapper method for MongoCursor::reset().
Cursor::rewind() — Method in class Cursor
Wrapper method for MongoCursor::rewind().
Cursor::retry() — Method in class Cursor
Conditionally retry a closure if it yields an exception.
CursorInterface::recreate() — Method in class CursorInterface
Recreates the internal MongoCursor.
CursorInterface::reset() — Method in class CursorInterface
Wrapper method for MongoCursor::reset().
Database::repair() — Method in class Database
Wrapper method for MongoDB::repair().
Database::resetError() — Method in class Database
Wrapper method for MongoDB::resetError().
Database::retry() — Method in class Database
Conditionally retry a closure if it yields an exception.
EagerCursor::rewind() — Method in class EagerCursor
EagerCursor::recreate() — Method in class EagerCursor
Recreates the internal MongoCursor.
EagerCursor::reset() — Method in class EagerCursor
Wrapper method for MongoCursor::reset().
ResultExceptionClass in namespace Doctrine\MongoDB\Exception
ResultException is thrown when a database command fails.
Builder::range() — Method in class Builder
Specify $gte and $lt criteria for the current field.
Builder::reduce() — Method in class Builder
Set the "reduce" option for a mapReduce or group command.
Builder::remove() — Method in class Builder
Change the query type to remove.
Builder::rename() — Method in class Builder
Rename the current field.
Builder::returnNew() — Method in class Builder
Set the "new" option for a findAndUpdate command.
Expr::range() — Method in class Expr
Specify $gte and $lt criteria for the current field.
Expr::rename() — Method in class Expr
Rename the current field.
LoggableCollectionTrait::remove() — Method in class LoggableCollectionTrait
ReadPreferenceClass in namespace Doctrine\MongoDB\Util
Utility class for converting read preferences.

S

Builder::sample() — Method in class Builder
Randomly selects the specified number of documents from its input.
Builder::skip() — Method in class Builder
Skips over the specified number of documents that pass into the stage and passes the remaining documents to the next stage in the pipeline.
Builder::sort() — Method in class Builder
Sorts all input documents and returns them to the pipeline in sorted order.
Builder::sortByCount() — Method in class Builder
Groups incoming documents based on the value of a specified expression, then computes the count of documents in each distinct group.
Expr::second() — Method in class Expr
Returns the second portion of a date as a number between 0 and 59, but can be 60 to account for leap seconds.
Expr::setDifference() — Method in class Expr
Takes two sets and returns an array containing the elements that only exist in the first set.
Expr::setEquals() — Method in class Expr
Compares two or more arrays and returns true if they have the same distinct elements and false otherwise.
Expr::setIntersection() — Method in class Expr
Takes two or more arrays and returns an array that contains the elements that appear in every input array.
Expr::setIsSubset() — Method in class Expr
Takes two arrays and returns true when the first array is a subset of the second, including when the first array equals the second array, and false otherwise.
Expr::setUnion() — Method in class Expr
Takes two or more arrays and returns an array containing the elements that appear in any input array.
Expr::size() — Method in class Expr
Counts and returns the total the number of items in an array.
Expr::slice() — Method in class Expr
Returns a subset of an array.
Expr::split() — Method in class Expr
Divides a string into an array of substrings based on a delimiter.
Expr::sqrt() — Method in class Expr
Calculates the square root of a positive number and returns the result as a double.
Expr::stdDevPop() — Method in class Expr
Calculates the population standard deviation of the input values.
Expr::stdDevSamp() — Method in class Expr
Calculates the sample standard deviation of the input values.
Expr::strcasecmp() — Method in class Expr
Performs case-insensitive comparison of two strings. Returns 1 if first string is “greater than” the second string.
Expr::strLenBytes() — Method in class Expr
Returns the number of UTF-8 encoded bytes in the specified string.
Expr::strLenCP() — Method in class Expr
Returns the number of UTF-8 code points in the specified string.
Expr::substr() — Method in class Expr
Returns a substring of a string, starting at a specified index position and including the specified number of characters. The index is zero-based.
Expr::substrBytes() — Method in class Expr
Returns the substring of a string.
Expr::substrCP() — Method in class Expr
Returns the substring of a string.
Expr::subtract() — Method in class Expr
Subtracts two numbers to return the difference. The second argument is subtracted from the first argument.
Expr::sum() — Method in class Expr
Calculates and returns the sum of all the numeric values that result from applying a specified expression to each document in a group of documents that share the same group by key. Ignores nun-numeric values.
Expr::switchInternal() — Method in class Expr
Evaluates a series of case expressions. When it finds an expression which evaluates to true, $switch executes a specified expression and breaks out of the control flow.
StageClass in namespace Doctrine\MongoDB\Aggregation
Fluent interface for building aggregation pipelines.
Stage::sample() — Method in class Stage
Randomly selects the specified number of documents from its input.
Stage::skip() — Method in class Stage
Skips over the specified number of documents that pass into the stage and passes the remaining documents to the next stage in the pipeline.
Stage::sortByCount() — Method in class Stage
Groups incoming documents based on the value of a specified expression, then computes the count of documents in each distinct group.
Stage::sort() — Method in class Stage
Sorts all input documents and returns them to the pipeline in sorted order.
AbstractOutput::stdDevPop() — Method in class AbstractOutput
Calculates the population standard deviation of the input values.
AbstractOutput::stdDevSamp() — Method in class AbstractOutput
Calculates the sample standard deviation of the input values.
AbstractOutput::sum() — Method in class AbstractOutput
Calculates and returns the sum of all the numeric values that result from applying a specified expression to each document in a group of documents that share the same group by key. Ignores nun-numeric values.
CollStats::showLatencyStats() — Method in class CollStats
Adds latency statistics to the return document.
CollStats::showStorageStats() — Method in class CollStats
Adds storage statistics to the return document.
GeoNear::spherical() — Method in class GeoNear
Required if using a 2dsphere index. Determines how MongoDB calculates the distance.
GraphLookup::startWith() — Method in class GraphLookup
Expression that specifies the value of the connectFromField with which to start the recursive search.
Match::startWith() — Method in class Match
Expression that specifies the value of the connectFromField with which to start the recursive search.
Group::stdDevPop() — Method in class Group
Calculates the population standard deviation of the input values.
Group::stdDevSamp() — Method in class Group
Calculates the sample standard deviation of the input values.
Group::sum() — Method in class Group
Calculates and returns the sum of all the numeric values that result from applying a specified expression to each document in a group of documents that share the same group by key. Ignores nun-numeric values.
Match::size() — Method in class Match
Specify $size criteria for the current field.
Operator::second() — Method in class Operator
Returns the second portion of a date as a number between 0 and 59, but can be 60 to account for leap seconds.
Operator::setDifference() — Method in class Operator
Takes two sets and returns an array containing the elements that only exist in the first set.
Operator::setEquals() — Method in class Operator
Compares two or more arrays and returns true if they have the same distinct elements and false otherwise.
Operator::setIntersection() — Method in class Operator
Takes two or more arrays and returns an array that contains the elements that appear in every input array.
Operator::setIsSubset() — Method in class Operator
Takes two arrays and returns true when the first array is a subset of the second, including when the first array equals the second array, and false otherwise.
Operator::setUnion() — Method in class Operator
Takes two or more arrays and returns an array containing the elements that appear in any input array.
Operator::size() — Method in class Operator
Counts and returns the total the number of items in an array.
Operator::slice() — Method in class Operator
Returns a subset of an array.
Operator::split() — Method in class Operator
Divides a string into an array of substrings based on a delimiter.
Operator::sqrt() — Method in class Operator
Calculates the square root of a positive number and returns the result as a double.
Operator::strcasecmp() — Method in class Operator
Performs case-insensitive comparison of two strings. Returns 1 if first string is “greater than” the second string.
Operator::strLenBytes() — Method in class Operator
Returns the number of UTF-8 encoded bytes in the specified string.
Operator::strLenCP() — Method in class Operator
Returns the number of UTF-8 code points in the specified string.
Operator::substr() — Method in class Operator
Returns a substring of a string, starting at a specified index position and including the specified number of characters. The index is zero-based.
Operator::substrBytes() — Method in class Operator
Returns the substring of a string.
Operator::substrCP() — Method in class Operator
Returns the substring of a string.
Operator::subtract() — Method in class Operator
Subtracts two numbers to return the difference. The second argument is subtracted from the first argument.
Project::stdDevPop() — Method in class Project
Calculates the population standard deviation of the input values.
Project::stdDevSamp() — Method in class Project
Calculates the sample standard deviation of the input values.
Project::sum() — Method in class Project
Calculates and returns the sum of all the numeric values that result from applying a specified expression to each document in a group of documents that share the same group by key. Ignores nun-numeric values.
SampleClass in namespace Doctrine\MongoDB\Aggregation\Stage
Fluent interface for adding a $sample stage to an aggregation pipeline.
SkipClass in namespace Doctrine\MongoDB\Aggregation\Stage
Fluent interface for adding a $skip stage to an aggregation pipeline.
SortClass in namespace Doctrine\MongoDB\Aggregation\Stage
Fluent interface for adding a $sort stage to an aggregation pipeline.
SortByCountClass in namespace Doctrine\MongoDB\Aggregation\Stage
Fluent interface for adding a $sortByCount stage to an aggregation pipeline.
ArrayIterator::setCommandResult() — Method in class ArrayIterator
Set the full result document for the MongoDB command.
Collection::setReadPreference() — Method in class Collection
Wrapper method for MongoCollection::setReadPreference().
Collection::setSlaveOkay() — Method in class Collection
Set whether secondary read queries are allowed for this collection.
Collection::save() — Method in class Collection
Wrapper method for MongoCollection::save().
Collection::splitCommandAndClientOptions() — Method in class Collection
Splits a command helper's options array into command and client options.
Configuration::setLoggerCallable() — Method in class Configuration
Set the logger callable.
Configuration::setMongoCmd() — Method in class Configuration
Set the MongoDB command prefix.
Configuration::setRetryConnect() — Method in class Configuration
Set the number of times to retry connection attempts after an exception.
Configuration::setRetryQuery() — Method in class Configuration
Set the number of times to retry queries after an exception.
$Connection#serverProperty in class Connection
Server string used to construct the MongoClient instance (optional).
Connection::setMongo() — Method in class Connection
Set the MongoClient instance to wrap.
Connection::setReadPreference() — Method in class Connection
Wrapper method for MongoClient::setReadPreference().
Connection::selectCollection() — Method in class Connection
Wrapper method for MongoClient::selectCollection().
Connection::selectDatabase() — Method in class Connection
Wrapper method for MongoClient::selectDatabase().
$Cursor#skipProperty in class Cursor
$Cursor#slaveOkayProperty in class Cursor
$Cursor#snapshotProperty in class Cursor
$Cursor#sortProperty in class Cursor
Cursor::setReadPreference() — Method in class Cursor
Set the read preference.
Cursor::setUseIdentifierKeys() — Method in class Cursor
Set whether to use the document's "_id" value as its iteration key.
Cursor::setMongoCursorSlaveOkay() — Method in class Cursor
Set whether secondary read queries are allowed for this cursor.
Cursor::skip() — Method in class Cursor
Wrapper method for MongoCursor::skip().
Cursor::slaveOkay() — Method in class Cursor
Wrapper method for MongoCursor::slaveOkay().
Cursor::snapshot() — Method in class Cursor
Wrapper method for MongoCursor::snapshot().
Cursor::sort() — Method in class Cursor
Wrapper method for MongoCursor::sort().
CursorInterface::setReadPreference() — Method in class CursorInterface
Set the read preference.
CursorInterface::setUseIdentifierKeys() — Method in class CursorInterface
Set whether to use the document's "_id" value as its iteration key.
CursorInterface::skip() — Method in class CursorInterface
Wrapper method for MongoCursor::skip().
CursorInterface::slaveOkay() — Method in class CursorInterface
Wrapper method for MongoCursor::slaveOkay().
CursorInterface::snapshot() — Method in class CursorInterface
Wrapper method for MongoCursor::snapshot().
CursorInterface::sort() — Method in class CursorInterface
Wrapper method for MongoCursor::sort().
Database::setProfilingLevel() — Method in class Database
Wrapper method for MongoDB::setProfilingLevel().
Database::setReadPreference() — Method in class Database
Wrapper method for MongoDB::setReadPreference().
Database::setSlaveOkay() — Method in class Database
Set whether secondary read queries are allowed for this database.
Database::selectCollection() — Method in class Database
Wrapper method for MongoDB::selectCollection().
EagerCursor::setReadPreference() — Method in class EagerCursor
Set the read preference.
EagerCursor::setUseIdentifierKeys() — Method in class EagerCursor
Set whether to use the document's "_id" value as its iteration key.
EagerCursor::skip() — Method in class EagerCursor
Wrapper method for MongoCursor::skip().
EagerCursor::slaveOkay() — Method in class EagerCursor
Wrapper method for MongoCursor::slaveOkay().
EagerCursor::snapshot() — Method in class EagerCursor
Wrapper method for MongoCursor::snapshot().
EagerCursor::sort() — Method in class EagerCursor
Wrapper method for MongoCursor::sort().
AggregateEventArgs::setPipeline() — Method in class AggregateEventArgs
AggregateEventArgs::setOptions() — Method in class AggregateEventArgs
DistinctEventArgs::setQuery() — Method in class DistinctEventArgs
DistinctEventArgs::setField() — Method in class DistinctEventArgs
FindEventArgs::setQuery() — Method in class FindEventArgs
FindEventArgs::setFields() — Method in class FindEventArgs
GroupEventArgs::setKeys() — Method in class GroupEventArgs
GroupEventArgs::setInitial() — Method in class GroupEventArgs
GroupEventArgs::setReduce() — Method in class GroupEventArgs
GroupEventArgs::setOptions() — Method in class GroupEventArgs
MapReduceEventArgs::setQuery() — Method in class MapReduceEventArgs
MapReduceEventArgs::setMap() — Method in class MapReduceEventArgs
MapReduceEventArgs::setReduce() — Method in class MapReduceEventArgs
MapReduceEventArgs::setOut() — Method in class MapReduceEventArgs
MapReduceEventArgs::setOptions() — Method in class MapReduceEventArgs
MutableEventArgs::setData() — Method in class MutableEventArgs
MutableEventArgs::setOptions() — Method in class MutableEventArgs
NearEventArgs::setQuery() — Method in class NearEventArgs
NearEventArgs::setNear() — Method in class NearEventArgs
NearEventArgs::setOptions() — Method in class NearEventArgs
UpdateEventArgs::setQuery() — Method in class UpdateEventArgs
UpdateEventArgs::setNewObj() — Method in class UpdateEventArgs
UpdateEventArgs::setOptions() — Method in class UpdateEventArgs
GridFS::storeFile() — Method in class GridFS
Wrapper method for MongoGridFS::storeFile().
GridFSFile::setBytes() — Method in class GridFSFile
Set the bytes to be persisted and mark the file as dirty.
GridFSFile::setFilename() — Method in class GridFSFile
Set the filename to be persisted and mark the file as dirty.
GridFSFile::setMongoGridFSFile() — Method in class GridFSFile
Set the PHP MongoGridFSFile instance to wrap and mark the file as clean.
LoggableCursor::skip() — Method in class LoggableCursor
LoggableCursor::snapshot() — Method in class LoggableCursor
LoggableCursor::sort() — Method in class LoggableCursor
LoggableGridFS::storeFile() — Method in class LoggableGridFS
Wrapper method for MongoGridFS::storeFile().
Builder::setNewObj() — Method in class Builder
Set the expression's "new object".
Builder::setQueryArray() — Method in class Builder
Set the expression's query criteria.
Builder::select() — Method in class Builder
Set one or more fields to be included in the query projection.
Builder::selectElemMatch() — Method in class Builder
Select only matching embedded documents in an array field for the query projection.
Builder::selectMeta() — Method in class Builder
Select a metadata field for the query projection.
Builder::selectSlice() — Method in class Builder
Select a slice of an array field for the query projection.
Builder::set() — Method in class Builder
Set the current field to a value.
Builder::setOnInsert() — Method in class Builder
Set the current field to the value if the document is inserted in an upsert operation.
Builder::setReadPreference() — Method in class Builder
Set the read preference for the query.
Builder::size() — Method in class Builder
Specify $size criteria for the current field.
Builder::skip() — Method in class Builder
Set the skip for the query cursor.
Builder::slaveOkay() — Method in class Builder
Set whether the query may be directed to replica set secondaries.
Builder::snapshot() — Method in class Builder
Set the snapshot cursor flag.
Builder::sort() — Method in class Builder
Set one or more field/order pairs on which to sort the query.
Builder::sortMeta() — Method in class Builder
Specify a projected metadata field on which to sort the query.
Builder::spherical() — Method in class Builder
Set the "spherical" option for a geoNear command query.
Expr::setNewObj() — Method in class Expr
Set the "new object".
Expr::setQuery() — Method in class Expr
Set the query criteria.
Expr::set() — Method in class Expr
Set the current field to a value.
Expr::setOnInsert() — Method in class Expr
Set the current field to the value if the document is inserted in an upsert operation.
Expr::size() — Method in class Expr
Specify $size criteria for the current field.
Expr::slice() — Method in class Expr
Add $slice criteria to the expression for a $push operation.
Expr::sort() — Method in class Expr
Add $sort criteria to the expression for a $push operation.
LoggableCollectionTrait::save() — Method in class LoggableCollectionTrait

T

Expr::thenInternal() — Method in class Expr
Adds a case statement for the current branch of the $switch operator.
Expr::toLower() — Method in class Expr
Converts a string to lowercase, returning the result.
Expr::toUpper() — Method in class Expr
Converts a string to uppercase, returning the result.
Expr::trunc() — Method in class Expr
Truncates a number to its integer.
Expr::type() — Method in class Expr
Returns a string that specifies the BSON type of the argument.
Match::text() — Method in class Match
Specify $text criteria for the current field.
Match::type() — Method in class Match
Specify $type criteria for the current field.
Operator::toLower() — Method in class Operator
Converts a string to lowercase, returning the result.
Operator::toUpper() — Method in class Operator
Converts a string to uppercase, returning the result.
Operator::trunc() — Method in class Operator
Truncates a number to its integer.
Operator::type() — Method in class Operator
Returns a string that specifies the BSON type of the argument.
ArrayIterator::toArray() — Method in class ArrayIterator
CommandCursor::timeout() — Method in class CommandCursor
Wrapper method for MongoCommandCursor::timeout().
CommandCursor::toArray() — Method in class CommandCursor
Return the cursor's results as an array.
$Cursor#tailableProperty in class Cursor
$Cursor#timeoutProperty in class Cursor
Cursor::tailable() — Method in class Cursor
Wrapper method for MongoCursor::tailable().
Cursor::timeout() — Method in class Cursor
Wrapper method for MongoCursor::timeout().
Cursor::toArray() — Method in class Cursor
Return the cursor's results as an array.
CursorInterface::tailable() — Method in class CursorInterface
Wrapper method for MongoCursor::tailable().
CursorInterface::timeout() — Method in class CursorInterface
Wrapper method for MongoCursor::timeout().
EagerCursor::toArray() — Method in class EagerCursor
EagerCursor::tailable() — Method in class EagerCursor
Wrapper method for MongoCursor::tailable().
EagerCursor::timeout() — Method in class EagerCursor
Wrapper method for MongoCursor::timeout().
Iterator::toArray() — Method in class Iterator
Return all elements as an array.
IteratorAggregate::toArray() — Method in class IteratorAggregate
Return all elements as an array.
Builder::text() — Method in class Builder
Specify $text criteria for the current field.
Builder::type() — Method in class Builder
Specify $type criteria for the current field.
Expr::text() — Method in class Expr
Specify $text criteria for the current query.
Expr::type() — Method in class Expr
Specify $type criteria for the current field.
Query::toArray() — Method in class Query
Execute the query and return its results as an array.

U

Builder::unwind() — Method in class Builder
Deconstructs an array field from the input documents to output a document for each element. Each output document is the input document with the value of the array field replaced by the element.
Stage::unwind() — Method in class Stage
Deconstructs an array field from the input documents to output a document for each element. Each output document is the input document with the value of the array field replaced by the element.
GeoNear::uniqueDocs() — Method in class GeoNear
If this value is true, the query returns a matching document once, even if more than one of the document’s location fields match the query.
UnwindClass in namespace Doctrine\MongoDB\Aggregation\Stage
Fluent interface for adding a $unwind stage to an aggregation pipeline.
Collection::update() — Method in class Collection
Wrapper method for MongoCollection::update().
Collection::upsert() — Method in class Collection
Invokes {@link Collection::update()} with the upsert option.
$Cursor#useIdentifierKeysProperty in class Cursor
Whether to use the document's "_id" value as its iteration key.
UpdateEventArgsClass in namespace Doctrine\MongoDB\Event
Event args for update queries.
Builder::unsetField() — Method in class Builder
Unset the current field.
Builder::update() — Method in class Builder
Change the query type to update.
Builder::updateOne() — Method in class Builder
Change the query type to update a single document
Builder::updateMany() — Method in class Builder
Change the query type to update multiple documents
Builder::upsert() — Method in class Builder
Set the "upsert" option for an update or findAndUpdate query.
Expr::unsetField() — Method in class Expr
Unset the current field.
LoggableCollectionTrait::update() — Method in class LoggableCollectionTrait

V

ArrayIterator::valid() — Method in class ArrayIterator
Collection::validate() — Method in class Collection
Wrapper method for MongoCollection::validate().
CommandCursor::valid() — Method in class CommandCursor
Wrapper method for MongoCommandCursor::valid().
Cursor::valid() — Method in class Cursor
Wrapper method for MongoCursor::valid().
EagerCursor::valid() — Method in class EagerCursor
LoggableCollectionTrait::validate() — Method in class LoggableCollectionTrait

W

Expr::week() — Method in class Expr
Returns the week of the year for a date as a number between 0 and 53.
Operator::week() — Method in class Operator
Returns the week of the year for a date as a number between 0 and 53.
Collection::wrapCommandCursor() — Method in class Collection
Wraps a MongoCommandCursor instance with a CommandCursor.
Collection::wrapCursor() — Method in class Collection
Wraps a MongoCursor instance with a Cursor.
GridFSFile::write() — Method in class GridFSFile
Writes this file to the path indicated by $filename.
LoggableCollection::wrapCursor() — Method in class LoggableCollection
Wraps a MongoCursor instance with a LoggableCursor.
Builder::where() — Method in class Builder
Specify a JavaScript expression to use for matching documents.
Builder::withinBox() — Method in class Builder
Add $within criteria with a $box shape to the query.
Builder::withinCenter() — Method in class Builder
Add $within criteria with a $center shape to the query.
Builder::withinCenterSphere() — Method in class Builder
Add $within criteria with a $centerSphere shape to the query.
Builder::withinPolygon() — Method in class Builder
Add $within criteria with a $polygon shape to the query.
Expr::where() — Method in class Expr
Specify a JavaScript expression to use for matching documents.
Expr::withinBox() — Method in class Expr
Add $within criteria with a $box shape to the expression.
Expr::withinCenter() — Method in class Expr
Add $within criteria with a $center shape to the expression.
Expr::withinCenterSphere() — Method in class Expr
Add $within criteria with a $centerSphere shape to the expression.
Expr::withinPolygon() — Method in class Expr
Add $within criteria with a $polygon shape to the expression.

Y

Expr::year() — Method in class Expr
Returns the year portion of a date.
Operator::year() — Method in class Operator
Returns the year portion of a date.

Z

Expr::zip() — Method in class Expr
Transposes an array of input arrays so that the first element of the output array would be an array containing, the first element of the first input array, the first element of the second input array, etc.
Operator::zip() — Method in class Operator
Transposes an array of input arrays so that the first element of the output array would be an array containing, the first element of the first input array, the first element of the second input array, etc.

_

Builder::__construct() — Method in class Builder
Create a new aggregation builder.
Expr::__call() — Method in class Expr
Stage::__construct() — Method in class Stage
AbstractOutput::__construct() — Method in class AbstractOutput
BucketAutoOutput::__construct() — Method in class BucketAutoOutput
BucketOutput::__construct() — Method in class BucketOutput
CollStats::__construct() — Method in class CollStats
Count::__construct() — Method in class Count
GeoNear::__construct() — Method in class GeoNear
GraphLookup::__construct() — Method in class GraphLookup
Lookup constructor.
Match::__construct() — Method in class Match
Group::__construct() — Method in class Group
Limit::__construct() — Method in class Limit
Lookup::__construct() — Method in class Lookup
Lookup constructor.
Match::__construct() — Method in class Match
Match::__clone() — Method in class Match
Operator::__construct() — Method in class Operator
Operator::__call() — Method in class Operator
Out::__construct() — Method in class Out
ReplaceRoot::__construct() — Method in class ReplaceRoot
Sample::__construct() — Method in class Sample
Skip::__construct() — Method in class Skip
Sort::__construct() — Method in class Sort
SortByCount::__construct() — Method in class SortByCount
Unwind::__construct() — Method in class Unwind
ArrayIterator::__construct() — Method in class ArrayIterator
Constructor.
Collection::__construct() — Method in class Collection
Constructor.
Collection::__get() — Method in class Collection
Wrapper method for MongoCollection::__get().
Collection::__toString() — Method in class Collection
Wrapper method for MongoCollection::__toString().
CommandCursor::__construct() — Method in class CommandCursor
Constructor.
Connection::__construct() — Method in class Connection
Constructor.
Connection::__get() — Method in class Connection
Wrapper method for MongoClient::__get().
Connection::__toString() — Method in class Connection
Wrapper method for MongoClient::__toString().
Cursor::__construct() — Method in class Cursor
Constructor.
Database::__construct() — Method in class Database
Constructor.
Database::__get() — Method in class Database
Wrapper method for MongoDB::__get().
Database::__toString() — Method in class Database
Wrapper method for MongoDB::__toString().
EagerCursor::__construct() — Method in class EagerCursor
Constructor.
AggregateEventArgs::__construct() — Method in class AggregateEventArgs
Constructor.
CreateCollectionEventArgs::__construct() — Method in class CreateCollectionEventArgs
Constructor.
DistinctEventArgs::__construct() — Method in class DistinctEventArgs
Constructor.
EventArgs::__construct() — Method in class EventArgs
Constructor.
FindEventArgs::__construct() — Method in class FindEventArgs
Constructor.
GroupEventArgs::__construct() — Method in class GroupEventArgs
Constructor.
MapReduceEventArgs::__construct() — Method in class MapReduceEventArgs
Constructor.
NearEventArgs::__construct() — Method in class NearEventArgs
Constructor.
UpdateEventArgs::__construct() — Method in class UpdateEventArgs
Constructor.
ResultException::__construct() — Method in class ResultException
Constructor.
GridFS::__construct() — Method in class GridFS
Constructor.
GridFSFile::__construct() — Method in class GridFSFile
Constructor.
LoggableCollection::__construct() — Method in class LoggableCollection
Constructor.
LoggableCursor::__construct() — Method in class LoggableCursor
Constructor.
LoggableDatabase::__construct() — Method in class LoggableDatabase
Constructor.
LoggableGridFS::__construct() — Method in class LoggableGridFS
Builder::__construct() — Method in class Builder
Create a new query builder.
Builder::__clone() — Method in class Builder
Query::__construct() — Method in class Query
Constructor.