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\ODM\MongoDB\Aggregation\Stage
Abstract class with common functionality for $bucket and $bucketAuto stages
AddFieldsClass in namespace Doctrine\ODM\MongoDB\Aggregation\Stage
Fluent interface for adding a $addFields stage to an aggregation pipeline.
AbstractOutputClass in namespace Doctrine\ODM\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.
Configuration::addDocumentNamespace() — Method in class Configuration
Adds a namespace under a certain alias.
Configuration::addFilter() — Method in class Configuration
Add a filter to the list of possible filters.
AbstractIdGeneratorClass in namespace Doctrine\ODM\MongoDB\Id
AbstractIdGenerator
AlnumGeneratorClass in namespace Doctrine\ODM\MongoDB\Id
AlnumGenerator is responsible for generating cased alpha-numeric unique identifiers.
$AlnumGenerator#awkwardSafeModeProperty in class AlnumGenerator
$AlnumGenerator#awkwardSafeCharsProperty in class AlnumGenerator
AutoGeneratorClass in namespace Doctrine\ODM\MongoDB\Id
AutoGenerator generates a native ObjectId
AbstractDocumentClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
AbstractFieldClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
AbstractIndexClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
AlsoLoadClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Loads data from a different field if the original field is not set
$ClassMetadata#associationMappingsProperty in class ClassMetadata
READ-ONLY: The association mappings of the class.
$ClassMetadata#alsoLoadMethodsProperty in class ClassMetadata
READ-ONLY: Array of fields to also load with a given method.
ClassMetadata::addLifecycleCallback() — Method in class ClassMetadata
Adds a lifecycle callback for documents of this class.
ClassMetadata::addIndex() — Method in class ClassMetadata
Add a index for this Document.
ClassMetadata::addInheritedFieldMapping() — Method in class ClassMetadata
INTERNAL: Adds a field mapping without completing/validating it.
ClassMetadata::addInheritedAssociationMapping() — Method in class ClassMetadata
INTERNAL: Adds an association mapping without completing/validating it.
AnnotationDriverClass in namespace Doctrine\ODM\MongoDB\Mapping\Driver
The AnnotationDriver reads the mapping metadata from docblock annotations.
MappingException::atomicCollectionStrategyNotAllowed() — Method in class MappingException
AbstractPersistentCollectionFactoryClass in namespace Doctrine\ODM\MongoDB\PersistentCollection
Abstract factory for creating persistent collection classes.
PersistentCollectionTrait::add() — Method in class PersistentCollectionTrait
{@inheritdoc}
DocumentPersister::addInsert() — Method in class DocumentPersister
Adds a document to the queued insertions.
DocumentPersister::addUpsert() — Method in class DocumentPersister
Adds a document to the queued upserts.
DocumentPersister::addDiscriminatorToPreparedQuery() — Method in class DocumentPersister
Adds discriminator criteria to an already-prepared query.
DocumentPersister::addFilterToPreparedQuery() — Method in class DocumentPersister
Adds filter criteria to an already-prepared query.
Builder::addAnd() — Method in class Builder
Add one or more $and clauses to the current query.
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::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.
BsonFilter::addFilterCriteria() — Method in class BsonFilter
Gets the criteria array to add to a query.
AbstractRepositoryFactoryClass in namespace Doctrine\ODM\MongoDB\Repository
Abstract factory for creating document repositories.
AbstractCommandClass in namespace Doctrine\ODM\MongoDB\Tools\Console\Command\Schema
MetadataFilter::accept() — Method in class MetadataFilter
ResolveTargetDocumentListener::addResolveTargetDocument() — Method in class ResolveTargetDocumentListener
Add a target-document class name to resolve to a new class name.
Type::addType() — Method in class Type
Adds a custom type to the type map.
UnitOfWork::addToIdentityMap() — Method in class UnitOfWork
INTERNAL: Registers a document in the identity map.

B

BuilderClass in namespace Doctrine\ODM\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\ODM\MongoDB\Aggregation\Stage
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\ODM\MongoDB\Aggregation\Stage
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\ODM\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\ODM\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.
$AbstractIndex#backgroundProperty in class AbstractIndex
$File#bucketNameProperty in class File
$ClassMetadata#bucketNameProperty in class ClassMetadata
READ-ONLY: The name of the GridFS bucket the document is mapped to.
BuilderClass in namespace Doctrine\ODM\MongoDB\Query
Query builder for ODM.
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.
BsonFilterClass in namespace Doctrine\ODM\MongoDB\Query\Filter
The base class that user defined filters should extend.
$QueryExpressionVisitor#builderProperty in class QueryExpressionVisitor
BinDataByteArrayTypeClass in namespace Doctrine\ODM\MongoDB\Types
The BinData type for byte array data.
$BinDataByteArrayType#binDataTypeProperty in class BinDataByteArrayType
BinDataCustomTypeClass in namespace Doctrine\ODM\MongoDB\Types
The BinData type for custom binary data.
$BinDataCustomType#binDataTypeProperty in class BinDataCustomType
BinDataFuncTypeClass in namespace Doctrine\ODM\MongoDB\Types
The BinData type for function data.
$BinDataFuncType#binDataTypeProperty in class BinDataFuncType
BinDataMD5TypeClass in namespace Doctrine\ODM\MongoDB\Types
The BinData type for binary MD5 data.
$BinDataMD5Type#binDataTypeProperty in class BinDataMD5Type
BinDataTypeClass in namespace Doctrine\ODM\MongoDB\Types
The BinData type for generic data.
$BinDataType#binDataTypeProperty in class BinDataType
Data type for binary data
BinDataUUIDRFC4122TypeClass in namespace Doctrine\ODM\MongoDB\Types
The BinData type for binary UUID data, which follows RFC 4122.
$BinDataUUIDRFC4122Type#binDataTypeProperty in class BinDataUUIDRFC4122Type
BinDataUUIDTypeClass in namespace Doctrine\ODM\MongoDB\Types
The BinData type for binary UUID data.
$BinDataUUIDType#binDataTypeProperty in class BinDataUUIDType
BooleanTypeClass in namespace Doctrine\ODM\MongoDB\Types
The Boolean type.

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::case() — 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.
CollStatsClass in namespace Doctrine\ODM\MongoDB\Aggregation\Stage
Fluent interface for adding a $collStats stage to an aggregation pipeline.
CountClass in namespace Doctrine\ODM\MongoDB\Aggregation\Stage
Fluent interface for adding a $count stage to an aggregation pipeline.
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.
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.
ConfigurationClass in namespace Doctrine\ODM\MongoDB
Configuration class for the DocumentManager. When setting up your DocumentManager you can optionally specify an instance of this class as the second argument.
DocumentManager::create() — Method in class DocumentManager
Creates a new Document that operates on the given Mongo connection and uses the given Configuration.
DocumentManager::createQueryBuilder() — Method in class DocumentManager
Create a new Query instance for a class.
DocumentManager::createAggregationBuilder() — Method in class DocumentManager
Creates a new aggregation builder instance for a class.
DocumentManager::clear() — Method in class DocumentManager
Clears the DocumentManager.
DocumentManager::close() — Method in class DocumentManager
Closes the DocumentManager. All documents that are currently managed by this DocumentManager become detached. The DocumentManager may no longer be used after it is closed.
DocumentManager::contains() — Method in class DocumentManager
Determines whether a document instance is managed in this DocumentManager.
DocumentManager::createReference() — Method in class DocumentManager
Returns a reference to the supplied document.
OnClearEventArgs::clearsAllDocuments() — Method in class OnClearEventArgs
Returns whether this event clears all documents.
$AlnumGenerator#charsProperty in class AlnumGenerator
$IncrementGenerator#collectionProperty in class IncrementGenerator
CachingIteratorClass in namespace Doctrine\ODM\MongoDB\Iterator
Iterator for wrapping a Traversable and caching its results.
CachingIterator::current() — Method in class CachingIterator
HydratingIterator::current() — Method in class HydratingIterator
PrimingIterator::current() — Method in class PrimingIterator
ChangeTrackingPolicyClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Specifies the change tracking policy for a document
$Document#collectionProperty in class Document
$EmbedMany#collectionClassProperty in class EmbedMany
$File#chunkSizeBytesProperty in class File
ChunkSizeClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations\File
$ReferenceMany#cascadeProperty in class ReferenceMany
$ReferenceMany#criteriaProperty in class ReferenceMany
$ReferenceMany#collectionClassProperty in class ReferenceMany
$ReferenceOne#cascadeProperty in class ReferenceOne
$ReferenceOne#criteriaProperty in class ReferenceOne
ClassMetadataClass in namespace Doctrine\ODM\MongoDB\Mapping
A ClassMetadata instance holds all the object-document mapping metadata of a document and it's references.
$ClassMetadata#collectionProperty in class ClassMetadata
READ-ONLY: The name of the mongo collection the document is mapped to.
$ClassMetadata#collectionCappedProperty in class ClassMetadata
READ-ONLY: If the collection should be a fixed size.
$ClassMetadata#collectionSizeProperty in class ClassMetadata
READ-ONLY: If the collection is fixed size, its size in bytes.
$ClassMetadata#collectionMaxProperty in class ClassMetadata
READ-ONLY: If the collection is fixed size, the maximum number of elements to store in the collection.
$ClassMetadata#customRepositoryClassNameProperty in class ClassMetadata
The name of the custom repository class used for the document class.
$ClassMetadata#chunkSizeBytesProperty in class ClassMetadata
READ-ONLY: The default chunk size in bytes for the file
$ClassMetadata#changeTrackingPolicyProperty in class ClassMetadata
READ-ONLY: The policy used for change-tracking on entities of this class.
ClassMetadataFactoryClass in namespace Doctrine\ODM\MongoDB\Mapping
The ClassMetadataFactory is used to create ClassMetadata objects that contain all the metadata mapping informations of a class which describes how a class should be mapped to a document database.
$ClassMetadataFactory#cacheSaltProperty in class ClassMetadataFactory
AnnotationDriver::create() — Method in class AnnotationDriver
Factory method for the Annotation Driver
MappingException::classIsNotAValidDocument() — Method in class MappingException
MappingException::classIsNotAValidGenerator() — Method in class MappingException
MappingException::cascadeOnEmbeddedNotAllowed() — Method in class MappingException
MappingException::collectionClassDoesNotImplementCommonInterface() — Method in class MappingException
MappingException::cannotLookupDbRefReference() — Method in class MappingException
MappingException::cannotUseShardedCollectionInOutStage() — Method in class MappingException
MappingException::cannotUseShardedCollectionInLookupStages() — Method in class MappingException
MappingException::connectFromFieldMustReferenceSameDocument() — Method in class MappingException
MongoDBException::cannotPersistMappedSuperclass() — Method in class MongoDBException
MongoDBException::commitInProgress() — Method in class MongoDBException
MongoDBException::cannotPersistGridFSFile() — Method in class MongoDBException
MongoDBException::cannotReadGridFSSourceFile() — Method in class MongoDBException
AbstractPersistentCollectionFactory::create() — Method in class AbstractPersistentCollectionFactory
Creates specified persistent collection to work with given collection class.
AbstractPersistentCollectionFactory::createCollectionClass() — Method in class AbstractPersistentCollectionFactory
Creates instance of collection class to be wrapped by PersistentCollection.
DefaultPersistentCollectionFactory::createCollectionClass() — Method in class DefaultPersistentCollectionFactory
Creates instance of collection class to be wrapped by PersistentCollection.
PersistentCollectionFactory::create() — Method in class PersistentCollectionFactory
Creates specified persistent collection to work with given collection class.
PersistentCollectionInterface::clearSnapshot() — Method in class PersistentCollectionInterface
INTERNAL: Clears the internal snapshot information and sets isDirty to true if the collection has elements.
PersistentCollectionTrait::clearSnapshot() — Method in class PersistentCollectionTrait
{@inheritdoc}
PersistentCollectionTrait::containsKey() — Method in class PersistentCollectionTrait
{@inheritdoc}
PersistentCollectionTrait::contains() — Method in class PersistentCollectionTrait
{@inheritdoc}
PersistentCollectionTrait::count() — Method in class PersistentCollectionTrait
{@inheritdoc}
PersistentCollectionTrait::clear() — Method in class PersistentCollectionTrait
{@inheritdoc}
PersistentCollectionTrait::current() — Method in class PersistentCollectionTrait
Gets the element of the collection at the current iterator position.
CollectionPersisterClass in namespace Doctrine\ODM\MongoDB\Persisters
The CollectionPersister is responsible for persisting collections of embedded or referenced documents. When a PersistentCollection is scheduledForDeletion in the UnitOfWork by calling PersistentCollection::clear() or is de-referenced in the domain application code, CollectionPersister::delete() will be called. When documents within the PersistentCollection are added or removed, CollectionPersister::update() will be called, which may set the entire collection or delete/insert individual elements, depending on the mapping strategy.
DocumentPersister::createReferenceManyInverseSideQuery() — Method in class DocumentPersister
DocumentPersister::createReferenceManyWithRepositoryMethodCursor() — Method in class DocumentPersister
ProxyFactory::createProxyDefinition() — Method in class ProxyFactory
{@inheritDoc}
$Builder#currentFieldProperty in class Builder
The current field we are operating on.
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.
CriteriaMergerClass in namespace Doctrine\ODM\MongoDB\Query
Utility class for merging query criteria.
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.
AbstractRepositoryFactory::createRepository() — Method in class AbstractRepositoryFactory
Create a new repository instance for a document class.
$DocumentRepository#classProperty in class DocumentRepository
DocumentRepository::createQueryBuilder() — Method in class DocumentRepository
Creates a new Query\Builder instance that is preconfigured for this document name.
DocumentRepository::createAggregationBuilder() — Method in class DocumentRepository
Creates a new Aggregation\Builder instance that is prepopulated for this document name.
DocumentRepository::clear() — Method in class DocumentRepository
Clears the repository, causing all managed documents to become detached.
$UploadOptions#chunkSizeBytesProperty in class UploadOptions
SchemaManager::createCollections() — Method in class SchemaManager
Create all the mapped document collections in the metadata factory.
SchemaManager::createDocumentCollection() — Method in class SchemaManager
Create the document collection for a mapped class.
MetadataCommand::configure() — Method in class MetadataCommand
GenerateHydratorsCommand::configure() — Method in class GenerateHydratorsCommand
GeneratePersistentCollectionsCommand::configure() — Method in class GeneratePersistentCollectionsCommand
GenerateProxiesCommand::configure() — Method in class GenerateProxiesCommand
QueryCommand::configure() — Method in class QueryCommand
CreateCommandClass in namespace Doctrine\ODM\MongoDB\Tools\Console\Command\Schema
CreateCommand::configure() — Method in class CreateCommand
DropCommand::configure() — Method in class DropCommand
ShardCommand::configure() — Method in class ShardCommand
UpdateCommand::configure() — Method in class UpdateCommand
ValidateCommand::configure() — Method in class ValidateCommand
MetadataFilter::count() — Method in class MetadataFilter
BinDataType::convertToDatabaseValue() — Method in class BinDataType
Converts a value from its PHP representation to its database representation of this type.
BinDataType::convertToPHPValue() — Method in class BinDataType
Converts a value from its database representation to its PHP representation of this type.
BinDataType::closureToMongo() — Method in class BinDataType
BinDataType::closureToPHP() — Method in class BinDataType
BooleanType::convertToDatabaseValue() — Method in class BooleanType
Converts a value from its PHP representation to its database representation of this type.
BooleanType::convertToPHPValue() — Method in class BooleanType
Converts a value from its database representation to its PHP representation of this type.
BooleanType::closureToMongo() — Method in class BooleanType
BooleanType::closureToPHP() — Method in class BooleanType
ClosureToPHPClass in namespace Doctrine\ODM\MongoDB\Types
ClosureToPHP::closureToPHP() — Method in class ClosureToPHP
CollectionTypeClass in namespace Doctrine\ODM\MongoDB\Types
The Collection type.
CollectionType::convertToDatabaseValue() — Method in class CollectionType
Converts a value from its PHP representation to its database representation of this type.
CollectionType::convertToPHPValue() — Method in class CollectionType
Converts a value from its database representation to its PHP representation of this type.
CustomIdTypeClass in namespace Doctrine\ODM\MongoDB\Types
The Id type.
CustomIdType::convertToDatabaseValue() — Method in class CustomIdType
Converts a value from its PHP representation to its database representation of this type.
CustomIdType::convertToPHPValue() — Method in class CustomIdType
Converts a value from its database representation to its PHP representation of this type.
CustomIdType::closureToMongo() — Method in class CustomIdType
CustomIdType::closureToPHP() — Method in class CustomIdType
DateType::convertToDatabaseValue() — Method in class DateType
Converts a value from its PHP representation to its database representation of this type.
DateType::convertToPHPValue() — Method in class DateType
Converts a value from its database representation to its PHP representation of this type.
DateType::closureToMongo() — Method in class DateType
DateType::closureToPHP() — Method in class DateType
FloatType::convertToDatabaseValue() — Method in class FloatType
Converts a value from its PHP representation to its database representation of this type.
FloatType::convertToPHPValue() — Method in class FloatType
Converts a value from its database representation to its PHP representation of this type.
FloatType::closureToMongo() — Method in class FloatType
FloatType::closureToPHP() — Method in class FloatType
HashType::convertToDatabaseValue() — Method in class HashType
Converts a value from its PHP representation to its database representation of this type.
HashType::convertToPHPValue() — Method in class HashType
Converts a value from its database representation to its PHP representation of this type.
IdType::convertToDatabaseValue() — Method in class IdType
Converts a value from its PHP representation to its database representation of this type.
IdType::convertToPHPValue() — Method in class IdType
Converts a value from its database representation to its PHP representation of this type.
IdType::closureToMongo() — Method in class IdType
IdType::closureToPHP() — Method in class IdType
IntType::convertToDatabaseValue() — Method in class IntType
Converts a value from its PHP representation to its database representation of this type.
IntType::convertToPHPValue() — Method in class IntType
Converts a value from its database representation to its PHP representation of this type.
IntType::closureToMongo() — Method in class IntType
IntType::closureToPHP() — Method in class IntType
KeyType::convertToDatabaseValue() — Method in class KeyType
Converts a value from its PHP representation to its database representation of this type.
KeyType::convertToPHPValue() — Method in class KeyType
Converts a value from its database representation to its PHP representation of this type.
ObjectIdType::convertToDatabaseValue() — Method in class ObjectIdType
Converts a value from its PHP representation to its database representation of this type.
ObjectIdType::convertToPHPValue() — Method in class ObjectIdType
Converts a value from its database representation to its PHP representation of this type.
ObjectIdType::closureToMongo() — Method in class ObjectIdType
ObjectIdType::closureToPHP() — Method in class ObjectIdType
RawType::convertToDatabaseValue() — Method in class RawType
Converts a value from its PHP representation to its database representation of this type.
RawType::convertToPHPValue() — Method in class RawType
Converts a value from its database representation to its PHP representation of this type.
RawType::closureToMongo() — Method in class RawType
RawType::closureToPHP() — Method in class RawType
StringType::convertToDatabaseValue() — Method in class StringType
Converts a value from its PHP representation to its database representation of this type.
StringType::convertToPHPValue() — Method in class StringType
Converts a value from its database representation to its PHP representation of this type.
StringType::closureToMongo() — Method in class StringType
StringType::closureToPHP() — Method in class StringType
TimestampType::convertToDatabaseValue() — Method in class TimestampType
Converts a value from its PHP representation to its database representation of this type.
TimestampType::convertToPHPValue() — Method in class TimestampType
Converts a value from its database representation to its PHP representation of this type.
Type::convertToDatabaseValue() — Method in class Type
Converts a value from its PHP representation to its database representation of this type.
Type::convertToPHPValue() — Method in class Type
Converts a value from its database representation to its PHP representation of this type.
Type::closureToMongo() — Method in class Type
Type::closureToPHP() — Method in class Type
Type::convertPHPToDatabaseValue() — Method in class Type
UnitOfWork::commit() — Method in class UnitOfWork
Commits the UnitOfWork, executing all operations that have been postponed up to this point. The state of all managed documents will be synchronized with the database.
UnitOfWork::computeChangeSet() — Method in class UnitOfWork
Computes the changes that happened to a single document.
UnitOfWork::computeChangeSets() — Method in class UnitOfWork
Computes all the changes that have been done to documents and collections since the last commit and stores these changes in the _documentChangeSet map temporarily for access by the persisters, until the UoW commit is finished.
UnitOfWork::containsId() — Method in class UnitOfWork
INTERNAL: Checks whether an identifier exists in the identity map.
UnitOfWork::clear() — Method in class UnitOfWork
Clears the UnitOfWork.
UnitOfWork::clearDocumentChangeSet() — Method in class UnitOfWork
INTERNAL: Clears the property changeset of the document with the given OID.
CollectionHelperClass in namespace Doctrine\ODM\MongoDB\Utility
Utility class used to unify checks on how collection strategies should behave.

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::default() — 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.
DocumentManagerClass in namespace Doctrine\ODM\MongoDB
The DocumentManager class is the central access point for managing the persistence of documents.
DocumentManager::detach() — Method in class DocumentManager
Detaches a document from the DocumentManager, causing a managed document to become detached. Unflushed changes made to the document if any (including removal of the document), will not be synchronized to the database.
DocumentNotFoundExceptionClass in namespace Doctrine\ODM\MongoDB
Class for exception when encountering proxy object that has an identifier that does not exist in the database.
DocumentNotFoundException::documentNotFound() — Method in class DocumentNotFoundException
DocumentNotFoundEventArgsClass in namespace Doctrine\ODM\MongoDB\Event
Provides event arguments for the documentNotFound event.
DocumentNotFoundEventArgs::disableException() — Method in class DocumentNotFoundEventArgs
Disable the throwing of an exception
$AbstractIndex#dropDupsProperty in class AbstractIndex
DefaultDiscriminatorValueClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Specifies a default discriminator value to be used when the discriminator field is not set in a document
DiscriminatorFieldClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Specify a field name to store a discriminator value
DiscriminatorMapClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Specify a map of discriminator values and classes
DiscriminatorValueClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Use the specified discriminator for this class
DocumentClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Identifies a class as a document that can be stored in the database
$Document#dbProperty in class Document
$EmbedMany#discriminatorFieldProperty in class EmbedMany
$EmbedMany#discriminatorMapProperty in class EmbedMany
$EmbedMany#defaultDiscriminatorValueProperty in class EmbedMany
$EmbedOne#discriminatorFieldProperty in class EmbedOne
$EmbedOne#discriminatorMapProperty in class EmbedOne
$EmbedOne#defaultDiscriminatorValueProperty in class EmbedOne
$File#dbProperty in class File
$Metadata#discriminatorFieldProperty in class Metadata
$Metadata#discriminatorMapProperty in class Metadata
$Metadata#defaultDiscriminatorValueProperty in class Metadata
$Inheritance#discriminatorMapProperty in class Inheritance
$Inheritance#discriminatorFieldProperty in class Inheritance
$Inheritance#defaultDiscriminatorValueProperty in class Inheritance
$ReferenceMany#discriminatorFieldProperty in class ReferenceMany
$ReferenceMany#discriminatorMapProperty in class ReferenceMany
$ReferenceMany#defaultDiscriminatorValueProperty in class ReferenceMany
$ReferenceOne#discriminatorFieldProperty in class ReferenceOne
$ReferenceOne#discriminatorMapProperty in class ReferenceOne
$ReferenceOne#defaultDiscriminatorValueProperty in class ReferenceOne
$ClassMetadata#dbProperty in class ClassMetadata
READ-ONLY: The name of the mongo database the document is mapped to.
$ClassMetadata#discriminatorValueProperty in class ClassMetadata
READ-ONLY: The discriminator value of this class.
$ClassMetadata#discriminatorMapProperty in class ClassMetadata
READ-ONLY: The discriminator map of all mapped classes in the hierarchy.
$ClassMetadata#discriminatorFieldProperty in class ClassMetadata
READ-ONLY: The definition of the discriminator field used in SINGLE_COLLECTION inheritance mapping.
$ClassMetadata#defaultDiscriminatorValueProperty in class ClassMetadata
READ-ONLY: The default value for discriminatorField in case it's not set in the document
ClassMetadataFactory::doLoadMetadata() — Method in class ClassMetadataFactory
{@inheritDoc}
MappingException::duplicateFieldMapping() — Method in class MappingException
MappingException::discriminatorFieldConflict() — Method in class MappingException
MappingException::discriminatorNotAllowedForGridFS() — Method in class MappingException
MongoDBException::detachedDocumentCannotBeRemoved() — Method in class MongoDBException
MongoDBException::documentNotMappedToCollection() — Method in class MongoDBException
MongoDBException::documentManagerClosed() — Method in class MongoDBException
MongoDBException::documentBucketOnlyAvailableForGridFSFiles() — Method in class MongoDBException
DefaultPersistentCollectionFactoryClass in namespace Doctrine\ODM\MongoDB\PersistentCollection
Default factory class for persistent collection classes.
DefaultPersistentCollectionGeneratorClass in namespace Doctrine\ODM\MongoDB\PersistentCollection
Default generator for custom PersistentCollection classes.
PersistentCollectionException::directoryNotWritable() — Method in class PersistentCollectionException
PersistentCollectionException::directoryRequired() — Method in class PersistentCollectionException
CollectionPersister::delete() — Method in class CollectionPersister
Deletes a PersistentCollection instance completely from a document using $unset.
DocumentPersisterClass in namespace Doctrine\ODM\MongoDB\Persisters
The DocumentPersister is responsible for persisting documents.
DocumentPersister::delete() — Method in class DocumentPersister
Removes document from mongo
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::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.
FilterCollection::disable() — Method in class FilterCollection
Disables a filter.
$BsonFilter#dmProperty in class BsonFilter
Query::debug() — Method in class Query
Return an array of information about the query structure for debugging.
DefaultGridFSRepositoryClass in namespace Doctrine\ODM\MongoDB\Repository
DefaultGridFSRepository::downloadToStream() — Method in class DefaultGridFSRepository
DefaultRepositoryFactoryClass in namespace Doctrine\ODM\MongoDB\Repository
This factory is used to create default repository objects for documents at runtime.
DocumentRepositoryClass in namespace Doctrine\ODM\MongoDB\Repository
A DocumentRepository serves as a repository for documents with generic as well as business specific methods for retrieving documents.
$DocumentRepository#documentNameProperty in class DocumentRepository
$DocumentRepository#dmProperty in class DocumentRepository
GridFSRepository::downloadToStream() — Method in class GridFSRepository
Writes the contents of a GridFS file to a writable stream.
$SchemaManager#dmProperty in class SchemaManager
SchemaManager::deleteIndexes() — Method in class SchemaManager
Delete indexes for all documents that can be loaded with the metadata factory.
SchemaManager::deleteDocumentIndexes() — Method in class SchemaManager
Delete the given document's indexes.
SchemaManager::dropCollections() — Method in class SchemaManager
Drop all the mapped document collections in the metadata factory.
SchemaManager::dropDocumentCollection() — Method in class SchemaManager
Drop the document collection for a mapped class.
SchemaManager::dropDatabases() — Method in class SchemaManager
Drop all the mapped document databases in the metadata factory.
SchemaManager::dropDocumentDatabase() — Method in class SchemaManager
Drop the document database for a mapped class.
DropCommandClass in namespace Doctrine\ODM\MongoDB\Tools\Console\Command\Schema
DocumentManagerHelperClass in namespace Doctrine\ODM\MongoDB\Tools\Console\Helper
Symfony console component helper for accessing a DocumentManager instance.
$DocumentManagerHelper#dmProperty in class DocumentManagerHelper
DateTypeClass in namespace Doctrine\ODM\MongoDB\Types
The Date type.
UnitOfWork::detach() — Method in class UnitOfWork
Detaches a document from the persistence management. It's persistence will no longer be managed by Doctrine.
LifecycleEventManager::documentNotFound() — Method in class LifecycleEventManager

E

Builder::execute() — Method in class Builder
Executes the aggregation pipeline
Builder::expr() — Method in class Builder
ExprClass in namespace Doctrine\ODM\MongoDB\Aggregation
Fluent interface for building aggregation pipelines.
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::excludeFields() — Method in class Project
Shorthand method to define which fields to be excluded.
EventsClass in namespace Doctrine\ODM\MongoDB
Container for all ODM events.
$AbstractIndex#expireAfterSecondsProperty in class AbstractIndex
EmbedManyClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Embeds multiple documents
$EmbedMany#embeddedProperty in class EmbedMany
EmbedOneClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Embeds a single document
$EmbedOne#embeddedProperty in class EmbedOne
EmbeddedDocumentClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Identifies a class as a document that can be embedded but not stored by itself
$Metadata#embeddedProperty in class Metadata
$AnnotationDriver#entityAnnotationClassesProperty in class AnnotationDriver
MappingException::embeddedDocumentCantHaveShardKey() — Method in class MappingException
PersistentCollectionTrait::exists() — Method in class PersistentCollectionTrait
{@inheritdoc}
DocumentPersister::executeInserts() — Method in class DocumentPersister
Executes all queued document insertions.
DocumentPersister::executeUpserts() — Method in class DocumentPersister
Executes all queued document upserts.
DocumentPersister::exists() — Method in class DocumentPersister
Checks whether the given managed document exists in the database.
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 as an expression with the Builder
ExprClass in namespace Doctrine\ODM\MongoDB\Query
Query expression builder for ODM.
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.
FilterCollection::enable() — Method in class FilterCollection
Enables a filter from the collection.
Query::execute() — Method in class Query
Execute the query and returns the results.
SchemaManager::ensureIndexes() — Method in class SchemaManager
Ensure indexes are created for all documents that can be loaded with the metadata factory.
SchemaManager::ensureDocumentIndexes() — Method in class SchemaManager
Ensure the given document's indexes are created.
SchemaManager::ensureSharding() — Method in class SchemaManager
Ensure collections are sharded for all documents that can be loaded with the metadata factory.
SchemaManager::ensureDocumentSharding() — Method in class SchemaManager
Ensure sharding for collection by document name.
SchemaManager::enableShardingForDbByDocumentName() — Method in class SchemaManager
Enable sharding for database which contains documents with given name.
MetadataCommand::execute() — Method in class MetadataCommand
GenerateHydratorsCommand::execute() — Method in class GenerateHydratorsCommand
GeneratePersistentCollectionsCommand::execute() — Method in class GeneratePersistentCollectionsCommand
GenerateProxiesCommand::execute() — Method in class GenerateProxiesCommand
QueryCommand::execute() — Method in class QueryCommand
CreateCommand::execute() — Method in class CreateCommand
DropCommand::execute() — Method in class DropCommand
ShardCommand::execute() — Method in class ShardCommand
UpdateCommand::execute() — Method in class UpdateCommand
ValidateCommand::execute() — Method in class ValidateCommand

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\ODM\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 or field name 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.
DocumentManager::flush() — Method in class DocumentManager
Flushes all changes to objects that have been queued up to now to the database.
DocumentManager::find() — Method in class DocumentManager
Finds a Document by its identifier.
FieldClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Specifies a generic field mapping
FileClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Identifies a class as a GridFS file that can be stored in the database
FilenameClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations\File
$ClassMetadata#fieldMappingsProperty in class ClassMetadata
READ-ONLY: The field mappings of the class.
MappingException::fieldNotAllowedForGridFS() — Method in class MappingException
MongoDBException::failedToEnableSharding() — Method in class MongoDBException
MongoDBException::failedToEnsureDocumentSharding() — Method in class MongoDBException
PersistentCollectionTrait::first() — Method in class PersistentCollectionTrait
{@inheritdoc}
PersistentCollectionTrait::filter() — Method in class PersistentCollectionTrait
{@inheritdoc}
PersistentCollectionTrait::forAll() — Method in class PersistentCollectionTrait
{@inheritdoc}
Builder::field() — Method in class Builder
Set the current field to operate on.
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 and optionally set and change the class being queried.
Builder::findAndRemove() — Method in class Builder
Builder::findAndUpdate() — Method in class Builder
Expr::field() — Method in class Expr
Set the current field for building the expression.
FilterCollectionClass in namespace Doctrine\ODM\MongoDB\Query
Collection class for all the query filters.
DocumentRepository::find() — Method in class DocumentRepository
Finds a document matching the specified identifier. Optionally a lock mode and expected version may be specified.
DocumentRepository::findAll() — Method in class DocumentRepository
Finds all documents in the repository.
DocumentRepository::findBy() — Method in class DocumentRepository
Finds documents by a set of criteria.
DocumentRepository::findOneBy() — Method in class DocumentRepository
Finds a single document by a set of criteria.
MetadataFilter::filter() — Method in class MetadataFilter
Filter Metadatas by one or more filter options.
FloatTypeClass in namespace Doctrine\ODM\MongoDB\Types
The Float type.

G

Builder::geoNear() — Method in class Builder
Outputs documents in order of nearest to farthest from a specified point.
Builder::getPipeline() — Method in class Builder
Returns the assembled aggregation pipeline
Builder::getStage() — Method in class Builder
Returns a certain stage from the 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\ODM\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\ODM\MongoDB\Aggregation\Stage
GraphLookup::getExpression() — Method in class GraphLookup
Assembles the aggregation stage
Match::getExpression() — Method in class Match
Assembles the aggregation stage
GroupClass in namespace Doctrine\ODM\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::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::getExpression() — Method in class Match
Assembles the aggregation stage
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
Configuration::getDocumentNamespace() — Method in class Configuration
Resolves a registered namespace alias to the full namespace.
Configuration::getDocumentNamespaces() — Method in class Configuration
Retrieves the list of registered document namespace aliases.
Configuration::getMetadataDriverImpl() — Method in class Configuration
Gets the cache driver implementation that is used for the mapping metadata.
Configuration::getMetadataCacheImpl() — Method in class Configuration
Configuration::getProxyDir() — Method in class Configuration
Gets the directory where Doctrine generates any necessary proxy class files.
Configuration::getAutoGenerateProxyClasses() — Method in class Configuration
Gets an int flag that indicates whether proxy classes should always be regenerated during each script execution.
Configuration::getProxyNamespace() — Method in class Configuration
Configuration::getHydratorDir() — Method in class Configuration
Configuration::getAutoGenerateHydratorClasses() — Method in class Configuration
Gets an int flag that indicates whether hydrator classes should always be regenerated during each script execution.
Configuration::getHydratorNamespace() — Method in class Configuration
Configuration::getPersistentCollectionDir() — Method in class Configuration
Configuration::getAutoGeneratePersistentCollectionClasses() — Method in class Configuration
Gets a integer flag that indicates how and when persistent collection classes should be generated.
Configuration::getPersistentCollectionNamespace() — Method in class Configuration
Configuration::getDefaultDB() — Method in class Configuration
Gets the default DB to use for all Documents that do not specify a database.
Configuration::getClassMetadataFactoryName() — Method in class Configuration
Configuration::getDefaultCommitOptions() — Method in class Configuration
Configuration::getFilterClassName() — Method in class Configuration
Configuration::getFilterParameters() — Method in class Configuration
Configuration::getDefaultDocumentRepositoryClassName() — Method in class Configuration
Configuration::getDefaultGridFSRepositoryClassName() — Method in class Configuration
Configuration::getRepositoryFactory() — Method in class Configuration
Configuration::getPersistentCollectionFactory() — Method in class Configuration
Configuration::getPersistentCollectionGenerator() — Method in class Configuration
DocumentManager::getProxyFactory() — Method in class DocumentManager
Gets the proxy factory used by the DocumentManager to create document proxies.
DocumentManager::getEventManager() — Method in class DocumentManager
Gets the EventManager used by the DocumentManager.
DocumentManager::getClient() — Method in class DocumentManager
Gets the MongoDB client instance that this DocumentManager wraps.
DocumentManager::getMetadataFactory() — Method in class DocumentManager
Gets the metadata factory used to gather the metadata of classes.
DocumentManager::getUnitOfWork() — Method in class DocumentManager
Gets the UnitOfWork used by the DocumentManager to coordinate operations.
DocumentManager::getHydratorFactory() — Method in class DocumentManager
Gets the Hydrator factory used by the DocumentManager to generate and get hydrators for each type of document.
DocumentManager::getSchemaManager() — Method in class DocumentManager
Returns SchemaManager, used to create/drop indexes/collections/databases.
DocumentManager::getClassMetadata() — Method in class DocumentManager
Returns the metadata for a class.
DocumentManager::getDocumentDatabase() — Method in class DocumentManager
Returns the MongoDB instance for a class.
DocumentManager::getDocumentDatabases() — Method in class DocumentManager
Gets the array of instantiated document database instances.
DocumentManager::getDocumentCollection() — Method in class DocumentManager
Returns the collection instance for a class.
DocumentManager::getDocumentBucket() — Method in class DocumentManager
Returns the bucket instance for a class.
DocumentManager::getDocumentCollections() — Method in class DocumentManager
Gets the array of instantiated document collection instances.
DocumentManager::getRepository() — Method in class DocumentManager
Gets the repository for a document class.
DocumentManager::getReference() — Method in class DocumentManager
Gets a reference to the document identified by the given type and identifier without actually loading it.
DocumentManager::getPartialReference() — Method in class DocumentManager
Gets a partial reference to the document identified by the given type and identifier without actually loading it, if the document is not yet loaded.
DocumentManager::getConfiguration() — Method in class DocumentManager
Gets the Configuration used by the DocumentManager.
DocumentManager::getFilterCollection() — Method in class DocumentManager
Gets the filter collection.
DocumentNotFoundEventArgs::getIdentifier() — Method in class DocumentNotFoundEventArgs
Retrieve associated identifier.
LifecycleEventArgs::getDocument() — Method in class LifecycleEventArgs
LifecycleEventArgs::getDocumentManager() — Method in class LifecycleEventArgs
LoadClassMetadataEventArgs::getDocumentManager() — Method in class LoadClassMetadataEventArgs
ManagerEventArgs::getDocumentManager() — Method in class ManagerEventArgs
OnClearEventArgs::getDocumentManager() — Method in class OnClearEventArgs
OnClearEventArgs::getDocumentClass() — Method in class OnClearEventArgs
PostCollectionLoadEventArgs::getCollection() — Method in class PostCollectionLoadEventArgs
Gets collection that was just initialized (loaded).
PreLoadEventArgs::getData() — Method in class PreLoadEventArgs
Get the array of data to be loaded and hydrated.
PreUpdateEventArgs::getDocumentChangeSet() — Method in class PreUpdateEventArgs
PreUpdateEventArgs::getOldValue() — Method in class PreUpdateEventArgs
Gets the old value of the changeset of the changed field.
PreUpdateEventArgs::getNewValue() — Method in class PreUpdateEventArgs
Gets the new value of the changeset of the changed field.
HydratorFactory::getHydratorFor() — Method in class HydratorFactory
Gets the hydrator object for the given document class.
HydratorFactory::generateHydratorClasses() — Method in class HydratorFactory
Generates hydrator classes for all given classes.
AbstractIdGenerator::generate() — Method in class AbstractIdGenerator
Generates an identifier for a document.
AlnumGenerator::generate() — Method in class AlnumGenerator
AutoGenerator::generate() — Method in class AutoGenerator
IncrementGenerator::generate() — Method in class IncrementGenerator
UuidGenerator::getSalt() — Method in class UuidGenerator
Returns the current salt value
UuidGenerator::generate() — Method in class UuidGenerator
Generates a new UUID
UuidGenerator::generateV4() — Method in class UuidGenerator
Generates a v4 UUID
UuidGenerator::generateV5() — Method in class UuidGenerator
Generates a v5 UUID
LockException::getDocument() — Method in class LockException
Gets the document that caused the exception.
AbstractField::getDeprecationMessage() — Method in class AbstractField
Gets deprecation message. The method WILL be removed in 2.0.
$ClassMetadata#generatorTypeProperty in class ClassMetadata
READ-ONLY: The Id generator type used by the class.
$ClassMetadata#generatorOptionsProperty in class ClassMetadata
READ-ONLY: The Id generator options.
ClassMetadata::getReferenceId() — Method in class ClassMetadata
Helper method to get reference id of ref* type references
ClassMetadata::getReferenceFieldName() — Method in class ClassMetadata
Returns a fully qualified field name for a given reference
ClassMetadata::getReflectionClass() — Method in class ClassMetadata
{@inheritDoc}
ClassMetadata::getIdentifier() — Method in class ClassMetadata
{@inheritDoc}
ClassMetadata::getIdentifierFieldNames() — Method in class ClassMetadata
{@inheritDoc}
ClassMetadata::getLifecycleCallbacks() — Method in class ClassMetadata
Gets the registered lifecycle callbacks for an event.
ClassMetadata::getIndexes() — Method in class ClassMetadata
Returns the array of indexes for this Document.
ClassMetadata::getShardKey() — Method in class ClassMetadata
ClassMetadata::getWriteConcern() — Method in class ClassMetadata
ClassMetadata::getReflectionProperties() — Method in class ClassMetadata
Gets the ReflectionProperties of the mapped class.
ClassMetadata::getReflectionProperty() — Method in class ClassMetadata
Gets a ReflectionProperty for a specific field of the mapped class.
ClassMetadata::getName() — Method in class ClassMetadata
{@inheritDoc}
ClassMetadata::getDatabase() — Method in class ClassMetadata
Returns the database this Document is mapped to.
ClassMetadata::getCollection() — Method in class ClassMetadata
Get the collection this Document is mapped to.
ClassMetadata::getBucketName() — Method in class ClassMetadata
ClassMetadata::getChunkSizeBytes() — Method in class ClassMetadata
ClassMetadata::getCollectionCapped() — Method in class ClassMetadata
Get whether or not the documents collection is capped.
ClassMetadata::getCollectionSize() — Method in class ClassMetadata
Get the collection size
ClassMetadata::getCollectionMax() — Method in class ClassMetadata
Get the collection max.
ClassMetadata::getPHPIdentifierValue() — Method in class ClassMetadata
Casts the identifier to its portable PHP type.
ClassMetadata::getDatabaseIdentifierValue() — Method in class ClassMetadata
Casts the identifier to its database type.
ClassMetadata::getIdentifierValue() — Method in class ClassMetadata
Gets the document identifier as a PHP type.
ClassMetadata::getIdentifierValues() — Method in class ClassMetadata
{@inheritDoc}
ClassMetadata::getIdentifierObject() — Method in class ClassMetadata
Get the document identifier object as a database type.
ClassMetadata::getFieldValue() — Method in class ClassMetadata
Gets the specified field's value off the given document.
ClassMetadata::getFieldMapping() — Method in class ClassMetadata
Gets the mapping of a field.
ClassMetadata::getEmbeddedFieldsMappings() — Method in class ClassMetadata
Gets mappings of fields holding embedded document(s).
ClassMetadata::getFieldMappingByDbFieldName() — Method in class ClassMetadata
Gets the field mapping by its DB name.
ClassMetadata::getFieldNames() — Method in class ClassMetadata
{@inheritDoc}
ClassMetadata::getAssociationNames() — Method in class ClassMetadata
{@inheritDoc}
ClassMetadata::getTypeOfField() — Method in class ClassMetadata
{@inheritDoc}
ClassMetadata::getAssociationTargetClass() — Method in class ClassMetadata
{@inheritDoc}
ClassMetadata::getAssociationCollectionClass() — Method in class ClassMetadata
Retrieve the collectionClass associated with an association
ClassMetadata::getAssociationMappedByTargetField() — Method in class ClassMetadata
{@inheritDoc}
ClassMetadataFactory::getFqcnFromAlias() — Method in class ClassMetadataFactory
{@inheritDoc}
ClassMetadataFactory::getDriver() — Method in class ClassMetadataFactory
{@inheritDoc}
DefaultPersistentCollectionGenerator::generateClass() — Method in class DefaultPersistentCollectionGenerator
Generates persistent collection class.
PersistentCollectionGenerator::generateClass() — Method in class PersistentCollectionGenerator
Generates persistent collection class.
PersistentCollectionInterface::getMongoData() — Method in class PersistentCollectionInterface
Gets the array of raw mongo data that will be used to initialize this collection.
PersistentCollectionInterface::getHints() — Method in class PersistentCollectionInterface
Get hints to account for during reconstitution/lookup of the documents.
PersistentCollectionInterface::getSnapshot() — Method in class PersistentCollectionInterface
INTERNAL: Returns the last snapshot of the elements in the collection.
PersistentCollectionInterface::getDeleteDiff() — Method in class PersistentCollectionInterface
INTERNAL: getDeleteDiff
PersistentCollectionInterface::getDeletedDocuments() — Method in class PersistentCollectionInterface
INTERNAL: get objects that were removed, unlike getDeleteDiff this doesn't care about indices.
PersistentCollectionInterface::getInsertDiff() — Method in class PersistentCollectionInterface
INTERNAL: getInsertDiff
PersistentCollectionInterface::getInsertedDocuments() — Method in class PersistentCollectionInterface
INTERNAL: get objects that were added, unlike getInsertDiff this doesn't care about indices.
PersistentCollectionInterface::getOwner() — Method in class PersistentCollectionInterface
INTERNAL: Gets the collection owner.
PersistentCollectionInterface::getMapping() — Method in class PersistentCollectionInterface
PersistentCollectionInterface::getTypeClass() — Method in class PersistentCollectionInterface
PersistentCollectionTrait::getMongoData() — Method in class PersistentCollectionTrait
{@inheritdoc}
PersistentCollectionTrait::getHints() — Method in class PersistentCollectionTrait
{@inheritdoc}
PersistentCollectionTrait::getSnapshot() — Method in class PersistentCollectionTrait
{@inheritdoc}
PersistentCollectionTrait::getDeleteDiff() — Method in class PersistentCollectionTrait
{@inheritdoc}
PersistentCollectionTrait::getDeletedDocuments() — Method in class PersistentCollectionTrait
{@inheritdoc}
PersistentCollectionTrait::getInsertDiff() — Method in class PersistentCollectionTrait
{@inheritdoc}
PersistentCollectionTrait::getInsertedDocuments() — Method in class PersistentCollectionTrait
{@inheritdoc}
PersistentCollectionTrait::getOwner() — Method in class PersistentCollectionTrait
{@inheritdoc}
PersistentCollectionTrait::getMapping() — Method in class PersistentCollectionTrait
{@inheritdoc}
PersistentCollectionTrait::getTypeClass() — Method in class PersistentCollectionTrait
{@inheritdoc}
PersistentCollectionTrait::get() — Method in class PersistentCollectionTrait
{@inheritdoc}
PersistentCollectionTrait::getKeys() — Method in class PersistentCollectionTrait
{@inheritdoc}
PersistentCollectionTrait::getValues() — Method in class PersistentCollectionTrait
{@inheritdoc}
PersistentCollectionTrait::getIterator() — Method in class PersistentCollectionTrait
{@inheritdoc}
DocumentPersister::getInserts() — Method in class DocumentPersister
DocumentPersister::getUpserts() — Method in class DocumentPersister
DocumentPersister::getClassMetadata() — Method in class DocumentPersister
Gets the ClassMetadata instance of the document class this persister is used for.
Builder::geoIntersects() — Method in class Builder
Add $geoIntersects criteria with a GeoJSON geometry to the query.
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
Gets the Query executable.
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::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
Gets prepared newObj part of expression.
Expr::getQuery() — Method in class Expr
Gets prepared query part of expression.
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.
FilterCollection::getEnabledFilters() — Method in class FilterCollection
Get all the enabled filters.
FilterCollection::getFilter() — Method in class FilterCollection
Get an enabled filter from the collection.
FilterCollection::getFilterCriteria() — Method in class FilterCollection
Gets enabled filter criteria.
BsonFilter::getParameter() — Method in class BsonFilter
Gets a parameter to use in a query.
Query::getClass() — Method in class Query
Gets the ClassMetadata instance.
Query::getDocumentManager() — Method in class Query
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.
AbstractRepositoryFactory::getRepository() — Method in class AbstractRepositoryFactory
Gets the repository for a document class.
DocumentRepository::getDocumentName() — Method in class DocumentRepository
DocumentRepository::getDocumentManager() — Method in class DocumentRepository
DocumentRepository::getClassMetadata() — Method in class DocumentRepository
DocumentRepository::getClassName() — Method in class DocumentRepository
DocumentRepository::getDocumentPersister() — Method in class DocumentRepository
GridFSRepositoryClass in namespace Doctrine\ODM\MongoDB\Repository
RepositoryFactory::getRepository() — Method in class RepositoryFactory
Gets the repository for a document class.
SchemaManager::getDocumentIndexes() — Method in class SchemaManager
GenerateHydratorsCommandClass in namespace Doctrine\ODM\MongoDB\Tools\Console\Command
Command to (re)generate the hydrator classes used by doctrine.
GeneratePersistentCollectionsCommandClass in namespace Doctrine\ODM\MongoDB\Tools\Console\Command
Command to (re)generate the persistent collection classes used by doctrine.
GenerateProxiesCommandClass in namespace Doctrine\ODM\MongoDB\Tools\Console\Command
Command to (re)generate the proxy classes used by doctrine.
AbstractCommand::getSchemaManager() — Method in class AbstractCommand
AbstractCommand::getDocumentManager() — Method in class AbstractCommand
AbstractCommand::getMetadataFactory() — Method in class AbstractCommand
DocumentManagerHelper::getDocumentManager() — Method in class DocumentManagerHelper
DocumentManagerHelper::getName() — Method in class DocumentManagerHelper
Get the canonical name of this helper.
DateType::getDateTime() — Method in class DateType
Converts a value to a DateTime.
Type::getType() — Method in class Type
Get a Type instance.
Type::getTypeFromPHPVariable() — Method in class Type
Get a Type instance based on the type of the passed php variable.
Type::getTypesMap() — Method in class Type
Get the types array map which holds all registered types and the corresponding type class
UnitOfWork::getPersistenceBuilder() — Method in class UnitOfWork
Factory for returning new PersistenceBuilder instances used for preparing data into queries for insert persistence.
UnitOfWork::getParentAssociation() — Method in class UnitOfWork
Gets the parent association for a given embedded document.
UnitOfWork::getDocumentPersister() — Method in class UnitOfWork
Get the document persister instance for the given document name
UnitOfWork::getCollectionPersister() — Method in class UnitOfWork
Get the collection persister instance.
UnitOfWork::getDocumentChangeSet() — Method in class UnitOfWork
Gets the changeset for a document.
UnitOfWork::getDocumentActualData() — Method in class UnitOfWork
Get a documents actual data, flattening all the objects to arrays.
UnitOfWork::getDocumentState() — Method in class UnitOfWork
Gets the state of a document with regard to the current unit of work.
UnitOfWork::getById() — Method in class UnitOfWork
INTERNAL: Gets a document in the identity map by its identifier hash.
UnitOfWork::getVisitedCollections() — Method in class UnitOfWork
INTERNAL: Gets PersistentCollections that have been visited during computing change set of $document
UnitOfWork::getScheduledCollections() — Method in class UnitOfWork
INTERNAL: Gets PersistentCollections that are scheduled to update and related to $document
UnitOfWork::getOwningDocument() — Method in class UnitOfWork
Get the top-most owning document of a given document
UnitOfWork::getClassNameForAssociation() — Method in class UnitOfWork
Gets the class name for an association (embed or reference) with respect to any discriminator value.
UnitOfWork::getOrCreateDocument() — Method in class UnitOfWork
INTERNAL: Creates a document. Used for reconstitution of documents during hydration.
UnitOfWork::getIdentityMap() — Method in class UnitOfWork
Gets the identity map of the UnitOfWork.
UnitOfWork::getOriginalDocumentData() — Method in class UnitOfWork
Gets the original data of a document. The original data is the data that was present at the time the document was reconstituted from the database.
UnitOfWork::getDocumentIdentifier() — Method in class UnitOfWork
Gets the identifier of a document.
UnitOfWork::getScheduledDocumentInsertions() — Method in class UnitOfWork
Gets the currently scheduled document insertions in this UnitOfWork.
UnitOfWork::getScheduledDocumentUpserts() — Method in class UnitOfWork
Gets the currently scheduled document upserts in this UnitOfWork.
UnitOfWork::getScheduledDocumentUpdates() — Method in class UnitOfWork
Gets the currently scheduled document updates in this UnitOfWork.
UnitOfWork::getScheduledDocumentDeletions() — Method in class UnitOfWork
Gets the currently scheduled document deletions in this UnitOfWork.
UnitOfWork::getScheduledCollectionDeletions() — Method in class UnitOfWork
Get the currently scheduled complete collection deletions
UnitOfWork::getScheduledCollectionUpdates() — Method in class UnitOfWork
Gets the currently scheduled collection inserts, updates and deletes.

H

Builder::hydrate() — Method in class Builder
Set which class to use when hydrating results as document class instances.
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.
PreUpdateEventArgs::hasChangedField() — Method in class PreUpdateEventArgs
HydratorExceptionClass in namespace Doctrine\ODM\MongoDB\Hydrator
MongoDB ODM Hydrator Exception
HydratorException::hydratorDirectoryNotWritable() — Method in class HydratorException
HydratorException::hydratorDirectoryRequired() — Method in class HydratorException
HydratorException::hydratorNamespaceRequired() — Method in class HydratorException
HydratorFactoryClass in namespace Doctrine\ODM\MongoDB\Hydrator
The HydratorFactory class is responsible for instantiating a correct hydrator type based on document's ClassMetadata
HydratorFactory::hydrate() — Method in class HydratorFactory
Hydrate array of MongoDB document data into the given document object.
HydratorInterfaceClass in namespace Doctrine\ODM\MongoDB\Hydrator
The HydratorInterface defines methods all hydrator need to implement
HydratorInterface::hydrate() — Method in class HydratorInterface
Hydrate array of MongoDB document data into the given document object.
HydratingIteratorClass in namespace Doctrine\ODM\MongoDB\Iterator
Iterator that wraps a traversable and hydrates results into objects
HasLifecycleCallbacksClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Must be set on a document class to instruct Doctrine to check for lifecycle callback annotations on public methods.
ClassMetadata::hasField() — Method in class ClassMetadata
{@inheritDoc}
ClassMetadata::hasLifecycleCallbacks() — Method in class ClassMetadata
Checks whether the class has callbacks registered for a lifecycle event.
ClassMetadata::hasIndexes() — Method in class ClassMetadata
Checks whether this document has indexes or not.
ClassMetadata::hasWriteConcern() — Method in class ClassMetadata
Whether there is a write concern configured for this class.
ClassMetadata::hasReference() — Method in class ClassMetadata
Checks whether the class has a mapped association with the given field name.
ClassMetadata::hasEmbed() — Method in class ClassMetadata
Checks whether the class has a mapped embed with the given field name.
ClassMetadata::hasAssociation() — Method in class ClassMetadata
{@inheritDoc}
ClassMetadata::hasDiscriminator() — Method in class ClassMetadata
Checks whether the document has a discriminator field and value configured.
Builder::hint() — Method in class Builder
Set the index hint for the query.
Builder::hydrate() — Method in class Builder
FilterCollection::has() — Method in class FilterCollection
Checks whether filter with given name is defined.
HashTypeClass in namespace Doctrine\ODM\MongoDB\Types
The Hash type.
Type::hasType() — Method in class Type
Checks if exists support for a type.
UnitOfWork::hasScheduledCollections() — Method in class UnitOfWork
Checks whether the document is related to a PersistentCollection scheduled for update or deletion.
UnitOfWork::hasPendingInsertions() — Method in class UnitOfWork
Checks whether the UnitOfWork has any pending insertions.

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 occurrence of a specified value and returns the array index (zero-based) of the first occurrence. If the value is not found, returns -1.
Expr::indexOfBytes() — Method in class Expr
Searches a string for an occurrence of a substring and returns the UTF-8 byte index (zero-based) of the first occurrence. If the substring is not found, returns -1.
Expr::indexOfCP() — Method in class Expr
Searches a string for an occurrence of a substring and returns the UTF-8 code point index (zero-based) of the first occurrence. 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\ODM\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.
Match::includesReferenceTo() — Method in class Match
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 occurrence of a specified value and returns the array index (zero-based) of the first occurrence. If the value is not found, returns -1.
Operator::indexOfBytes() — Method in class Operator
Searches a string for an occurrence of a substring and returns the UTF-8 byte index (zero-based) of the first occurrence. If the substring is not found, returns -1.
Operator::indexOfCP() — Method in class Operator
Searches a string for an occurrence of a substring and returns the UTF-8 code point index (zero-based) of the first occurrence. 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 $.
DocumentManager::initializeObject() — Method in class DocumentManager
Helper method to initialize a lazy loading proxy or persistent collection.
DocumentManager::isOpen() — Method in class DocumentManager
Check if the Document manager is open or closed.
DocumentNotFoundEventArgs::isExceptionDisabled() — Method in class DocumentNotFoundEventArgs
Indicates whether the proxy initialization exception is disabled.
IncrementGeneratorClass in namespace Doctrine\ODM\MongoDB\Id
IncrementGenerator is responsible for generating auto increment identifiers. It uses a collection and generates the next id by using $inc on a field named "current_id".
UuidGenerator::isValid() — Method in class UuidGenerator
Checks that a given string is a valid uuid.
IteratorClass in namespace Doctrine\ODM\MongoDB\Iterator
LockException::invalidLockFieldType() — Method in class LockException
LockException::invalidVersionFieldType() — Method in class LockException
AbstractField::isDeprecated() — Method in class AbstractField
Gets whether the annotation is deprecated. The method WILL be removed in 2.0.
$Document#indexesProperty in class Document
$EmbeddedDocument#indexesProperty in class EmbeddedDocument
$File#indexesProperty in class File
IdClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Special field mapping to map document identifiers
$Id#idProperty in class Id
IndexClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Defines an index on a field
IndexesClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Specifies a list of indexes for a document
InheritanceClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Specifies inheritance mapping for a document
InheritanceTypeClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Specifies which inheritance type to use for a document
$ReferenceMany#inversedByProperty in class ReferenceMany
$ReferenceOne#inversedByProperty in class ReferenceOne
$ClassMetadata#identifierProperty in class ClassMetadata
READ-ONLY: The field name of the document identifier.
$ClassMetadata#indexesProperty in class ClassMetadata
READ-ONLY: The array of indexes for the document collection.
$ClassMetadata#inheritanceTypeProperty in class ClassMetadata
READ-ONLY: The inheritance mapping type used by the class.
$ClassMetadata#idGeneratorProperty in class ClassMetadata
READ-ONLY: The ID generator used for generating IDs for this class.
$ClassMetadata#isMappedSuperclassProperty in class ClassMetadata
READ-ONLY: Whether this class describes the mapping of a mapped superclass.
$ClassMetadata#isEmbeddedDocumentProperty in class ClassMetadata
READ-ONLY: Whether this class describes the mapping of a embedded document.
$ClassMetadata#isQueryResultDocumentProperty in class ClassMetadata
READ-ONLY: Whether this class describes the mapping of an aggregation result document.
$ClassMetadata#isFileProperty in class ClassMetadata
READ-ONLY: Whether this class describes the mapping of a gridFS file
$ClassMetadata#isVersionedProperty in class ClassMetadata
READ-ONLY: A flag for whether or not instances of this class are to be versioned with optimistic locking.
$ClassMetadata#isLockableProperty in class ClassMetadata
READ-ONLY: A flag for whether or not instances of this class are to allow pessimistic locking.
$ClassMetadata#isReadOnlyProperty in class ClassMetadata
READ_ONLY: A flag for whether or not this document is read-only.
ClassMetadata::isIdentifier() — Method in class ClassMetadata
{@inheritDoc}
ClassMetadata::isInheritedField() — Method in class ClassMetadata
Checks whether a mapped field is inherited from an entity superclass.
ClassMetadata::invokeLifecycleCallbacks() — Method in class ClassMetadata
Dispatches the lifecycle event of the given document by invoking all registered callbacks.
ClassMetadata::isSharded() — Method in class ClassMetadata
Checks whether this document has shard key or not.
ClassMetadata::isChangeTrackingDeferredExplicit() — Method in class ClassMetadata
Whether the change tracking policy of this class is "deferred explicit".
ClassMetadata::isChangeTrackingDeferredImplicit() — Method in class ClassMetadata
Whether the change tracking policy of this class is "deferred implicit".
ClassMetadata::isChangeTrackingNotify() — Method in class ClassMetadata
Whether the change tracking policy of this class is "notify".
ClassMetadata::isMappedToCollection() — Method in class ClassMetadata
Returns TRUE if this Document is mapped to a collection FALSE otherwise.
ClassMetadata::isSingleValuedAssociation() — Method in class ClassMetadata
{@inheritDoc}
ClassMetadata::isCollectionValuedAssociation() — Method in class ClassMetadata
{@inheritDoc}
ClassMetadata::isSingleValuedReference() — Method in class ClassMetadata
Checks whether the class has a mapped association for the specified field and if yes, checks whether it is a single-valued association (to-one).
ClassMetadata::isCollectionValuedReference() — Method in class ClassMetadata
Checks whether the class has a mapped association for the specified field and if yes, checks whether it is a collection-valued association (to-many).
ClassMetadata::isSingleValuedEmbed() — Method in class ClassMetadata
Checks whether the class has a mapped embedded document for the specified field and if yes, checks whether it is a single-valued association (to-one).
ClassMetadata::isCollectionValuedEmbed() — Method in class ClassMetadata
Checks whether the class has a mapped embedded document for the specified field and if yes, checks whether it is a collection-valued association (to-many).
ClassMetadata::isNullable() — Method in class ClassMetadata
Check if the field is not null.
ClassMetadata::isInheritanceTypeNone() — Method in class ClassMetadata
ClassMetadata::isInheritanceTypeSingleCollection() — Method in class ClassMetadata
Checks whether the mapped class uses the SINGLE_COLLECTION inheritance mapping strategy.
ClassMetadata::isInheritanceTypeCollectionPerClass() — Method in class ClassMetadata
Checks whether the mapped class uses the COLLECTION_PER_CLASS inheritance mapping strategy.
ClassMetadata::isIdGeneratorAuto() — Method in class ClassMetadata
Checks whether the class will generate a new \MongoDB\BSON\ObjectId instance for us.
ClassMetadata::isIdGeneratorIncrement() — Method in class ClassMetadata
Checks whether the class will use a collection to generate incremented identifiers.
ClassMetadata::isIdGeneratorUuid() — Method in class ClassMetadata
Checks whether the class will generate a uuid id.
ClassMetadata::isIdGeneratorNone() — Method in class ClassMetadata
Checks whether the class uses no id generator.
ClassMetadata::isAssociationInverseSide() — Method in class ClassMetadata
{@inheritDoc}
ClassMetadataFactory::initialize() — Method in class ClassMetadataFactory
Lazy initialization of this stuff, especially the metadata driver, since these are not needed at all when a metadata cache is active.
ClassMetadataFactory::initializeReflection() — Method in class ClassMetadataFactory
{@inheritDoc}
ClassMetadataFactory::isEntity() — Method in class ClassMetadataFactory
{@inheritDoc}
MappingException::invalidClassInDiscriminatorMap() — Method in class MappingException
MappingException::invalidDiscriminatorValue() — Method in class MappingException
MappingException::identifierRequired() — Method in class MappingException
MappingException::invalidStorageStrategy() — Method in class MappingException
MongoDBException::invalidDocumentState() — Method in class MongoDBException
MongoDBException::invalidDocumentRepository() — Method in class MongoDBException
MongoDBException::invalidGridFSRepository() — Method in class MongoDBException
MongoDBException::invalidValueForType() — Method in class MongoDBException
PersistentCollectionException::invalidParameterTypeHint() — Method in class PersistentCollectionException
PersistentCollectionException::invalidReturnTypeHint() — Method in class PersistentCollectionException
PersistentCollectionInterface::initialize() — Method in class PersistentCollectionInterface
Initializes the collection by loading its contents from the database if the collection is not yet initialized.
PersistentCollectionInterface::isDirty() — Method in class PersistentCollectionInterface
Gets a boolean flag indicating whether this collection is dirty which means its state needs to be synchronized with the database.
PersistentCollectionInterface::isInitialized() — Method in class PersistentCollectionInterface
Checks whether this collection has been initialized.
PersistentCollectionTrait::initialize() — Method in class PersistentCollectionTrait
{@inheritdoc}
PersistentCollectionTrait::isDirty() — Method in class PersistentCollectionTrait
{@inheritdoc}
PersistentCollectionTrait::isInitialized() — Method in class PersistentCollectionTrait
{@inheritdoc}
PersistentCollectionTrait::indexOf() — Method in class PersistentCollectionTrait
{@inheritdoc}
PersistentCollectionTrait::isEmpty() — Method in class PersistentCollectionTrait
{@inheritdoc}
DocumentPersister::isQueuedForInsert() — Method in class DocumentPersister
DocumentPersister::isQueuedForUpsert() — Method in class DocumentPersister
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::includesReferenceTo() — Method in class Builder
Builder::insert() — Method in class Builder
Expr::in() — Method in class Expr
Specify $in criteria for the current field.
Expr::inc() — Method in class Expr
Increment the current field.
Expr::includesReferenceTo() — Method in class Expr
Checks that the current field includes a reference to the supplied document.
FilterCollection::isEnabled() — Method in class FilterCollection
Checks whether filter with given name is enabled.
AbstractRepositoryFactory::instantiateRepository() — Method in class AbstractRepositoryFactory
Instantiates requested repository.
DefaultRepositoryFactory::instantiateRepository() — Method in class DefaultRepositoryFactory
Instantiates requested repository.
SchemaManager::isMongoIndexEquivalentToDocumentIndex() — Method in class SchemaManager
Determine if an index returned by MongoCollection::getIndexInfo() can be considered equivalent to an index in class metadata.
IdTypeClass in namespace Doctrine\ODM\MongoDB\Types
The Id type.
IntIdTypeClass in namespace Doctrine\ODM\MongoDB\Types
The Integer Id type.
IntTypeClass in namespace Doctrine\ODM\MongoDB\Types
The Int type.
UnitOfWork::isScheduledForInsert() — Method in class UnitOfWork
Checks whether a document is scheduled for insertion.
UnitOfWork::isScheduledForUpsert() — Method in class UnitOfWork
Checks whether a document is scheduled for upsert.
UnitOfWork::isScheduledForUpdate() — Method in class UnitOfWork
Checks whether a document is registered as dirty in the unit of work.
UnitOfWork::isScheduledForDirtyCheck() — Method in class UnitOfWork
UnitOfWork::isScheduledForDelete() — Method in class UnitOfWork
Checks whether a document is registered as removed/deleted with the unit of work.
UnitOfWork::isDocumentScheduled() — Method in class UnitOfWork
Checks whether a document is scheduled for insertion, update or deletion.
UnitOfWork::isInIdentityMap() — Method in class UnitOfWork
Checks whether a document is registered in the identity map.
UnitOfWork::isCollectionScheduledForDeletion() — Method in class UnitOfWork
Checks whether a PersistentCollection is scheduled for deletion.
UnitOfWork::isCollectionScheduledForUpdate() — Method in class UnitOfWork
Checks whether a PersistentCollection is scheduled for update.
UnitOfWork::initializeObject() — Method in class UnitOfWork
Helper method to initialize a lazy loading proxy or persistent collection.
CollectionHelper::isAtomic() — Method in class CollectionHelper
Returns whether update query must be included in query updating owning document.
CollectionHelper::isHash() — Method in class CollectionHelper
Returns whether Collection hold associative array.
CollectionHelper::isList() — Method in class CollectionHelper
Returns whether Collection hold array indexed by consecutive numbers.

K

$IncrementGenerator#keyProperty in class IncrementGenerator
CachingIterator::key() — Method in class CachingIterator
HydratingIterator::key() — Method in class HydratingIterator
PrimingIterator::key() — Method in class PrimingIterator
$AbstractIndex#keysProperty in class AbstractIndex
$ShardKey#keysProperty in class ShardKey
PersistentCollectionTrait::key() — Method in class PersistentCollectionTrait
KeyTypeClass in namespace Doctrine\ODM\MongoDB\Types
The Key type.

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\ODM\MongoDB\Aggregation\Stage
Fluent interface for adding a $limit stage to an aggregation pipeline.
LookupClass in namespace Doctrine\ODM\MongoDB\Aggregation\Stage
Fluent interface for building aggregation pipelines.
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.
DocumentManager::lock() — Method in class DocumentManager
Acquire a lock on the given document.
LifecycleEventArgsClass in namespace Doctrine\ODM\MongoDB\Event
Lifecycle Events are triggered by the UnitOfWork during lifecycle transitions of documents.
LoadClassMetadataEventArgsClass in namespace Doctrine\ODM\MongoDB\Event
Class that holds event arguments for a loadMetadata event.
LockExceptionClass in namespace Doctrine\ODM\MongoDB
LockException
LockException::lockFailed() — Method in class LockException
LockException::lockFailedVersionMissmatch() — Method in class LockException
LockModeClass in namespace Doctrine\ODM\MongoDB
Contains all MongoDB ODM LockModes
LengthClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations\File
LockClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Specifies a field to use for pessimistic locking
$ReferenceMany#limitProperty in class ReferenceMany
$ReferenceOne#limitProperty in class ReferenceOne
$ClassMetadata#lifecycleCallbacksProperty in class ClassMetadata
READ-ONLY: The registered lifecycle callbacks for documents of this class.
$ClassMetadata#lockFieldProperty in class ClassMetadata
READ-ONLY: The name of the field which is used for locking a document.
AnnotationDriver::loadMetadataForClass() — Method in class AnnotationDriver
{@inheritdoc}
XmlDriver::loadMetadataForClass() — Method in class XmlDriver
{@inheritDoc}
XmlDriver::loadMappingFile() — Method in class XmlDriver
{@inheritDoc}
DefaultPersistentCollectionGenerator::loadClass() — Method in class DefaultPersistentCollectionGenerator
Loads persistent collection class.
PersistentCollectionGenerator::loadClass() — Method in class PersistentCollectionGenerator
Loads persistent collection class.
PersistentCollectionTrait::last() — Method in class PersistentCollectionTrait
{@inheritdoc}
DocumentPersister::load() — Method in class DocumentPersister
Finds a document by a set of criteria.
DocumentPersister::loadAll() — Method in class DocumentPersister
Finds documents by a set of criteria.
DocumentPersister::lock() — Method in class DocumentPersister
Locks document by storing the lock mode on the mapped lock field.
DocumentPersister::loadCollection() — Method in class DocumentPersister
Loads a PersistentCollection data. Used in the initialize() method.
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.
ResolveTargetDocumentListener::loadClassMetadata() — Method in class ResolveTargetDocumentListener
Process event and resolve new target document names.
UnitOfWork::lock() — Method in class UnitOfWork
Acquire a lock on the given document.
UnitOfWork::loadCollection() — Method in class UnitOfWork
Initializes (loads) an uninitialized persistent collection of a document.
LifecycleEventManagerClass in namespace Doctrine\ODM\MongoDB\Utility

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\ODM\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\ODM\MongoDB\Aggregation\Stage
Fluent interface for building aggregation pipelines.
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.
DocumentManager::merge() — Method in class DocumentManager
Merges the state of a detached document into the persistence context of this DocumentManager and returns the managed copy of the document.
ManagerEventArgsClass in namespace Doctrine\ODM\MongoDB\Event
Provides event arguments for the flush events.
MetadataClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations\File
MappedSuperclassClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Specifies a parent class that other documents may extend to inherit mapping information
$ReferenceMany#mappedByProperty in class ReferenceMany
$ReferenceOne#mappedByProperty in class ReferenceOne
ClassMetadata::mapOneEmbedded() — Method in class ClassMetadata
Map a single embedded document.
ClassMetadata::mapManyEmbedded() — Method in class ClassMetadata
Map a collection of embedded documents.
ClassMetadata::mapOneReference() — Method in class ClassMetadata
Map a single document reference.
ClassMetadata::mapManyReference() — Method in class ClassMetadata
Map a collection of document references.
ClassMetadata::markReadOnly() — Method in class ClassMetadata
Marks this class as read only, no change tracking is applied to it.
ClassMetadata::mapField() — Method in class ClassMetadata
Map a field.
MappingExceptionClass in namespace Doctrine\ODM\MongoDB\Mapping
Class for all exceptions related to the Doctrine MongoDB ODM
MappingException::mappingNotFound() — Method in class MappingException
MappingException::mappingNotFoundInClassNorDescendants() — Method in class MappingException
MappingException::mappingNotFoundByDbName() — Method in class MappingException
MappingException::missingFieldName() — Method in class MappingException
MappingException::missingIdentifierField() — Method in class MappingException
MappingException::missingIdGeneratorClass() — Method in class MappingException
MappingException::missingGeneratorSetter() — Method in class MappingException
MappingException::mustNotChangeIdentifierFieldsType() — Method in class MappingException
MongoDBExceptionClass in namespace Doctrine\ODM\MongoDB
Class for all exceptions related to the Doctrine MongoDB ODM
PersistentCollectionTrait::map() — Method in class PersistentCollectionTrait
{@inheritdoc}
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::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::mod() — Method in class Builder
Specify $mod criteria for the current field.
Builder::mul() — Method in class Builder
Multiply the current field.
CriteriaMerger::merge() — Method in class CriteriaMerger
Combines any number of criteria arrays as clauses of an "$and" 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::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::mod() — Method in class Expr
Specify $mod criteria for the current field.
Expr::mul() — Method in class Expr
Multiply the current field.
DocumentRepository::matching() — Method in class DocumentRepository
Selects all elements from a selectable that match the expression and returns a new collection containing these elements.
$UploadOptions#metadataProperty in class UploadOptions
$SchemaManager#metadataFactoryProperty in class SchemaManager
MetadataCommandClass in namespace Doctrine\ODM\MongoDB\Tools\Console\Command\ClearCache
Command to clear the metadata cache of the various cache drivers.
MetadataFilterClass in namespace Doctrine\ODM\MongoDB\Tools\Console
Used by CLI Tools to restrict entity-based commands to given patterns.
UnitOfWork::merge() — Method in class UnitOfWork
Merges the state of the given detached document into this UnitOfWork.

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.
Configuration::newDefaultAnnotationDriver() — Method in class Configuration
Add a new default annotation driver with a correctly configured annotation reader.
CachingIterator::next() — Method in class CachingIterator
HydratingIterator::next() — Method in class HydratingIterator
PrimingIterator::next() — Method in class PrimingIterator
LockException::notVersioned() — Method in class LockException
$AbstractField#nameProperty in class AbstractField
$AbstractField#nullableProperty in class AbstractField
$AbstractIndex#nameProperty in class AbstractIndex
$AlsoLoad#nameProperty in class AlsoLoad
$ChunkSize#nameProperty in class ChunkSize
$ChunkSize#notSavedProperty in class ChunkSize
$Filename#nameProperty in class Filename
$Filename#notSavedProperty in class Filename
$Length#nameProperty in class Length
$Length#notSavedProperty in class Length
$Metadata#nameProperty in class Metadata
$UploadDate#nameProperty in class UploadDate
$UploadDate#notSavedProperty in class UploadDate
NotSavedClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Specifies that a field will not be written to the database
$NotSaved#notSavedProperty in class NotSaved
$ShardKey#numInitialChunksProperty in class ShardKey
$ClassMetadata#nameProperty in class ClassMetadata
READ-ONLY: The name of the document class.
ClassMetadata::newInstance() — Method in class ClassMetadata
Creates a new instance of the mapped class, without invoking the constructor.
ClassMetadataFactory::newClassMetadataInstance() — Method in class ClassMetadataFactory
{@inheritdoc}
MappingException::noMultiKeyShardKeys() — Method in class MappingException
PersistentCollectionException::namespaceRequired() — Method in class PersistentCollectionException
PersistentCollectionTrait::next() — Method in class PersistentCollectionTrait
Moves the internal iterator position to the next element.
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::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.

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\ODM\MongoDB\Aggregation\Stage
Fluent interface for adding operators to aggregation stages.
OutClass in namespace Doctrine\ODM\MongoDB\Aggregation\Stage
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.
OnClearEventArgsClass in namespace Doctrine\ODM\MongoDB\Event
Provides event arguments for the onClear event.
OnFlushEventArgsClass in namespace Doctrine\ODM\MongoDB\Event
Provides event arguments for the onFlush event.
$AbstractField#optionsProperty in class AbstractField
$AbstractIndex#orderProperty in class AbstractIndex
$AbstractIndex#optionsProperty in class AbstractIndex
$ReferenceMany#orphanRemovalProperty in class ReferenceMany
$ReferenceOne#orphanRemovalProperty in class ReferenceOne
MappingException::owningAndInverseReferencesRequireTargetDocument() — Method in class MappingException
MappingException::onlySetStrategyAllowedInShardKey() — Method in class MappingException
PersistentCollectionTrait::offsetExists() — Method in class PersistentCollectionTrait
PersistentCollectionTrait::offsetGet() — Method in class PersistentCollectionTrait
PersistentCollectionTrait::offsetSet() — Method in class PersistentCollectionTrait
PersistentCollectionTrait::offsetUnset() — Method in class PersistentCollectionTrait
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.
DefaultGridFSRepository::openDownloadStream() — Method in class DefaultGridFSRepository
DefaultGridFSRepository::openUploadStream() — Method in class DefaultGridFSRepository
GridFSRepository::openDownloadStream() — Method in class GridFSRepository
Opens a readable stream for reading a GridFS file.
GridFSRepository::openUploadStream() — Method in class GridFSRepository
Opens a writable stream for writing a GridFS file.
ObjectIdTypeClass in namespace Doctrine\ODM\MongoDB\Types
The ObjectId type.
Type::overrideType() — Method in class Type
Overrides an already defined type to use a different implementation.

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.
Lookup::prepareFieldName() — Method in class Lookup
Operator::pow() — Method in class Operator
Raises a number to the specified exponent and returns the result.
ProjectClass in namespace Doctrine\ODM\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.
DocumentManager::persist() — Method in class DocumentManager
Tells the DocumentManager to make an instance managed and persistent.
PostCollectionLoadEventArgsClass in namespace Doctrine\ODM\MongoDB\Event
Class that holds arguments for postCollectionLoad event.
PostFlushEventArgsClass in namespace Doctrine\ODM\MongoDB\Event
Provides event arguments for the postFlush event.
PreFlushEventArgsClass in namespace Doctrine\ODM\MongoDB\Event
Provides event arguments for the preFlush event.
PreLoadEventArgsClass in namespace Doctrine\ODM\MongoDB\Event
Class that holds event arguments for a preLoad event.
PreUpdateEventArgsClass in namespace Doctrine\ODM\MongoDB\Event
Class that holds event arguments for a preUpdate event.
$AlnumGenerator#padProperty in class AlnumGenerator
PrimingIteratorClass in namespace Doctrine\ODM\MongoDB\Iterator
$AbstractIndex#partialFilterExpressionProperty in class AbstractIndex
PostLoadClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Marks a method as a postLoad lifecycle callback
PostPersistClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Marks a method as a postPersist lifecycle callback
PostRemoveClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Marks a method as a postRemove lifecycle callback
PostUpdateClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Marks a method as a postUpdate lifecycle callback
PreFlushClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Marks a method as a preFlush lifecycle callback
PreLoadClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Marks a method as a preLoad lifecycle callback
PrePersistClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Marks a method as a prePersist lifecycle callback
PreRemoveClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Marks a method as a preRemove lifecycle callback
PreUpdateClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Marks a method as a preUpdate lifecycle callback
$ReferenceMany#primeProperty in class ReferenceMany
$ClassMetadata#parentClassesProperty in class ClassMetadata
READ-ONLY: The names of the parent classes (ancestors).
PersistentCollectionClass in namespace Doctrine\ODM\MongoDB
A PersistentCollection represents a collection of elements that have persistent state.
PersistentCollectionExceptionClass in namespace Doctrine\ODM\MongoDB\PersistentCollection
MongoDB ODM PersistentCollection Exception.
PersistentCollectionFactoryClass in namespace Doctrine\ODM\MongoDB\PersistentCollection
Interface for persistent collection classes factory.
PersistentCollectionGeneratorClass in namespace Doctrine\ODM\MongoDB\PersistentCollection
Interface for PersistentCollection classes generator.
PersistentCollectionInterfaceClass in namespace Doctrine\ODM\MongoDB\PersistentCollection
Interface for persistent collection classes.
PersistentCollectionTraitClass in namespace Doctrine\ODM\MongoDB\PersistentCollection
Trait with methods needed to implement PersistentCollectionInterface.
PersistentCollectionTrait::partition() — Method in class PersistentCollectionTrait
{@inheritdoc}
DocumentPersister::prepareProjection() — Method in class DocumentPersister
Prepare a projection array by converting keys, which are PHP property names, to MongoDB field names.
DocumentPersister::prepareSort() — Method in class DocumentPersister
Prepare a sort specification array by converting keys to MongoDB field names and changing direction strings to int.
DocumentPersister::prepareFieldName() — Method in class DocumentPersister
Prepare a mongodb field name and convert the PHP property names to MongoDB field names.
DocumentPersister::prepareQueryOrNewObj() — Method in class DocumentPersister
Prepares the query criteria or new document object.
PersistenceBuilderClass in namespace Doctrine\ODM\MongoDB\Persisters
PersistenceBuilder builds the queries used by the persisters to update and insert documents when a DocumentManager is flushed. It uses the changeset information in the UnitOfWork to build queries using atomic operators like $set, $unset, etc.
PersistenceBuilder::prepareInsertData() — Method in class PersistenceBuilder
Prepares the array that is ready to be inserted to mongodb for a given object document.
PersistenceBuilder::prepareUpdateData() — Method in class PersistenceBuilder
Prepares the update query to update a given document object in mongodb.
PersistenceBuilder::prepareUpsertData() — Method in class PersistenceBuilder
Prepares the update query to upsert a given document object in mongodb.
PersistenceBuilder::prepareReferencedDocumentValue() — Method in class PersistenceBuilder
Returns the reference representation to be stored in MongoDB.
PersistenceBuilder::prepareEmbeddedDocumentValue() — Method in class PersistenceBuilder
Returns the embedded document to be stored in MongoDB.
PersistenceBuilder::prepareAssociatedDocumentValue() — Method in class PersistenceBuilder
Returns the embedded document or reference representation to be stored.
PersistenceBuilder::prepareAssociatedCollectionValue() — Method in class PersistenceBuilder
Returns the collection representation to be stored and unschedules it afterwards.
ProxyClass in namespace Doctrine\ODM\MongoDB\Proxy
Document Proxy interface.
ProxyFactoryClass in namespace Doctrine\ODM\MongoDB\Proxy
This factory is used to create proxy objects for documents at runtime.
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::prime() — Method in class Builder
Use a primer to eagerly load all references in the current 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.
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.
$BsonFilter#parametersProperty in class BsonFilter
Parameters for the filter.
ReferencePrimer::primeReferences() — Method in class ReferencePrimer
Prime references within a mapped field of one or more documents.
AbstractCommand::processDocumentCollection() — Method in class AbstractCommand
AbstractCommand::processCollection() — Method in class AbstractCommand
AbstractCommand::processDocumentDb() — Method in class AbstractCommand
AbstractCommand::processDb() — Method in class AbstractCommand
AbstractCommand::processDocumentIndex() — Method in class AbstractCommand
AbstractCommand::processIndex() — Method in class AbstractCommand
CreateCommand::processDocumentCollection() — Method in class CreateCommand
CreateCommand::processCollection() — Method in class CreateCommand
CreateCommand::processDocumentDb() — Method in class CreateCommand
CreateCommand::processDb() — Method in class CreateCommand
CreateCommand::processDocumentIndex() — Method in class CreateCommand
CreateCommand::processIndex() — Method in class CreateCommand
CreateCommand::processDocumentProxy() — Method in class CreateCommand
CreateCommand::processProxy() — Method in class CreateCommand
DropCommand::processDocumentCollection() — Method in class DropCommand
DropCommand::processCollection() — Method in class DropCommand
DropCommand::processDocumentDb() — Method in class DropCommand
DropCommand::processDb() — Method in class DropCommand
DropCommand::processDocumentIndex() — Method in class DropCommand
DropCommand::processIndex() — Method in class DropCommand
ShardCommand::processDocumentIndex() — Method in class ShardCommand
ShardCommand::processIndex() — Method in class ShardCommand
ShardCommand::processDocumentCollection() — Method in class ShardCommand
ShardCommand::processCollection() — Method in class ShardCommand
ShardCommand::processDocumentDb() — Method in class ShardCommand
ShardCommand::processDb() — Method in class ShardCommand
UpdateCommand::processDocumentIndex() — Method in class UpdateCommand
UpdateCommand::processIndex() — Method in class UpdateCommand
UpdateCommand::processDocumentCollection() — Method in class UpdateCommand
UpdateCommand::processCollection() — Method in class UpdateCommand
UpdateCommand::processDocumentDb() — Method in class UpdateCommand
UpdateCommand::processDb() — Method in class UpdateCommand
UnitOfWork::persist() — Method in class UnitOfWork
Persists a document as part of the current unit of work.
UnitOfWork::propertyChanged() — Method in class UnitOfWork
Notifies this UnitOfWork of a property change in a document.
LifecycleEventManager::postCollectionLoad() — Method in class LifecycleEventManager
Dispatches postCollectionLoad event.
LifecycleEventManager::postPersist() — Method in class LifecycleEventManager
Invokes postPersist callbacks and events for given document cascading them to embedded documents as well.
LifecycleEventManager::postRemove() — Method in class LifecycleEventManager
Invokes postRemove callbacks and events for given document.
LifecycleEventManager::postUpdate() — Method in class LifecycleEventManager
Invokes postUpdate callbacks and events for given document. The same will be done for embedded documents owned by given document unless they were new in which case postPersist callbacks and events will be dispatched.
LifecycleEventManager::prePersist() — Method in class LifecycleEventManager
Invokes prePersist callbacks and events for given document.
LifecycleEventManager::preRemove() — Method in class LifecycleEventManager
Invokes prePersist callbacks and events for given document.
LifecycleEventManager::preUpdate() — Method in class LifecycleEventManager
Invokes preUpdate callbacks and events for given document cascading them to embedded documents as well.

Q

$Match#queryProperty in class Match
QueryResultDocumentClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
QueryClass in namespace Doctrine\ODM\MongoDB\Query
ODM Query wraps the raw Doctrine MongoDB queries to add additional functionality and to hydrate the raw arrays of data to Doctrine document objects.
QueryExpressionVisitorClass in namespace Doctrine\ODM\MongoDB\Query
Converts Collection expressions to query expressions.
QueryCommandClass in namespace Doctrine\ODM\MongoDB\Tools\Console\Command
Command to query mongodb and inspect the outputted results from your document classes.

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.
Match::references() — Method in class Match
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\ODM\MongoDB\Aggregation\Stage
Fluent interface for adding a $redact stage to an aggregation pipeline.
ReplaceRootClass in namespace Doctrine\ODM\MongoDB\Aggregation\Stage
DocumentManager::remove() — Method in class DocumentManager
Removes a document instance.
DocumentManager::refresh() — Method in class DocumentManager
Refreshes the persistent state of a document from the database, overriding any local changes that have not yet been persisted.
CachingIterator::rewind() — Method in class CachingIterator
HydratingIterator::rewind() — Method in class HydratingIterator
PrimingIterator::rewind() — Method in class PrimingIterator
$Document#repositoryClassProperty in class Document
$Document#readOnlyProperty in class Document
$File#repositoryClassProperty in class File
$File#readOnlyProperty in class File
$MappedSuperclass#repositoryClassProperty in class MappedSuperclass
ReadPreferenceClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
ReferenceManyClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Specifies a one-to-many relationship to a different document
$ReferenceMany#referenceProperty in class ReferenceMany
$ReferenceMany#repositoryMethodProperty in class ReferenceMany
ReferenceOneClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Specifies a one-to-one relationship to a different document
$ReferenceOne#referenceProperty in class ReferenceOne
$ReferenceOne#repositoryMethodProperty in class ReferenceOne
$ClassMetadata#readPreferenceProperty in class ClassMetadata
READ-ONLY Describes how MongoDB clients route read operations to the members of a replica set.
$ClassMetadata#readPreferenceTagsProperty in class ClassMetadata
READ-ONLY Associated with readPreference Allows to specify criteria so that your application can target read operations to specific members, based on custom parameters.
$ClassMetadata#rootDocumentNameProperty in class ClassMetadata
READ-ONLY: The name of the document class that is at the root of the mapped document inheritance hierarchy. If the document is not part of a mapped inheritance hierarchy this is the same as {@link $documentName}.
$ClassMetadata#reflFieldsProperty in class ClassMetadata
The ReflectionProperty instances of the mapped class.
$ClassMetadata#reflClassProperty in class ClassMetadata
The ReflectionClass instance of the mapped class.
ClassMetadata::registerAlsoLoadMethod() — Method in class ClassMetadata
Registers a method for loading document data before field hydration.
MappingException::referenceMappingNotFound() — Method in class MappingException
MappingException::referenceFieldConflict() — Method in class MappingException
MappingException::reflectionFailure() — Method in class MappingException
MappingException::referenceManySortMustNotBeUsedWithNonSetCollectionStrategy() — Method in class MappingException
MappingException::repositoryMethodLookupNotAllowed() — Method in class MappingException
MappingException::referencePrimersOnlySupportedForInverseReferenceMany() — Method in class MappingException
MappingException::repositoryMethodCanNotBeCombinedWithSkipLimitAndSort() — Method in class MappingException
PersistentCollectionTrait::remove() — Method in class PersistentCollectionTrait
{@inheritdoc}
PersistentCollectionTrait::removeElement() — Method in class PersistentCollectionTrait
{@inheritdoc}
DocumentPersister::refresh() — Method in class DocumentPersister
Refreshes a managed document.
Builder::range() — Method in class Builder
Specify $gte and $lt criteria for the current field.
Builder::readOnly() — Method in class Builder
Builder::reduce() — Method in class Builder
Set the "reduce" option for a mapReduce or group command.
Builder::references() — Method in class Builder
Builder::refresh() — Method in class Builder
Builder::remove() — Method in class Builder
Builder::rename() — Method in class Builder
Rename the current field.
Builder::returnNew() — Method in class Builder
Expr::range() — Method in class Expr
Specify $gte and $lt criteria for the current field.
Expr::references() — Method in class Expr
Checks that the value of the current field is a reference to the supplied document.
Expr::rename() — Method in class Expr
Rename the current field.
Query::runQuery() — Method in class Query
Execute the query and return its result.
ReferencePrimerClass in namespace Doctrine\ODM\MongoDB\Query
The ReferencePrimer is responsible for priming reference relationships.
RepositoryFactoryClass in namespace Doctrine\ODM\MongoDB\Repository
Interface for document repository factory.
ResolveTargetDocumentListenerClass in namespace Doctrine\ODM\MongoDB\Tools
ResolveTargetDocumentListener
RawTypeClass in namespace Doctrine\ODM\MongoDB\Types
Raw data type.
Type::registerType() — Method in class Type
Register a new type in the type map.
UnitOfWork::recomputeSingleDocumentChangeSet() — Method in class UnitOfWork
INTERNAL: Computes the changeset of an individual document, independently of the computeChangeSets() routine that is used at the beginning of a UnitOfWork#commit().
UnitOfWork::removeFromIdentityMap() — Method in class UnitOfWork
INTERNAL: Removes a document from the identity map. This effectively detaches the document from the persistence management of Doctrine.
UnitOfWork::remove() — Method in class UnitOfWork
Deletes a document as part of the current unit of work.
UnitOfWork::refresh() — Method in class UnitOfWork
Refreshes the state of the given document from the database, overwriting any local, unpersisted changes.
UnitOfWork::registerManaged() — Method in class UnitOfWork
INTERNAL: Registers a document as managed.

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::switch() — 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\ODM\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\ODM\MongoDB\Aggregation\Stage
Fluent interface for adding a $sample stage to an aggregation pipeline.
SkipClass in namespace Doctrine\ODM\MongoDB\Aggregation\Stage
Fluent interface for adding a $skip stage to an aggregation pipeline.
SortClass in namespace Doctrine\ODM\MongoDB\Aggregation\Stage
Fluent interface for adding a $sort stage to an aggregation pipeline.
SortByCountClass in namespace Doctrine\ODM\MongoDB\Aggregation\Stage
Configuration::setDocumentNamespaces() — Method in class Configuration
Set the document alias map
Configuration::setMetadataDriverImpl() — Method in class Configuration
Sets the cache driver implementation that is used for metadata caching.
Configuration::setMetadataCacheImpl() — Method in class Configuration
Configuration::setProxyDir() — Method in class Configuration
Sets the directory where Doctrine generates any necessary proxy class files.
Configuration::setAutoGenerateProxyClasses() — Method in class Configuration
Sets an int flag that indicates whether proxy classes should always be regenerated during each script execution.
Configuration::setProxyNamespace() — Method in class Configuration
Configuration::setHydratorDir() — Method in class Configuration
Configuration::setAutoGenerateHydratorClasses() — Method in class Configuration
Sets an int flag that indicates whether hydrator classes should always be regenerated during each script execution.
Configuration::setHydratorNamespace() — Method in class Configuration
Configuration::setPersistentCollectionDir() — Method in class Configuration
Configuration::setAutoGeneratePersistentCollectionClasses() — Method in class Configuration
Sets a integer flag that indicates how and when persistent collection classes should be generated.
Configuration::setPersistentCollectionNamespace() — Method in class Configuration
Configuration::setDefaultDB() — Method in class Configuration
Sets the default DB to use for all Documents that do not specify a database.
Configuration::setClassMetadataFactoryName() — Method in class Configuration
Configuration::setDefaultCommitOptions() — Method in class Configuration
Configuration::setDefaultDocumentRepositoryClassName() — Method in class Configuration
Configuration::setDefaultGridFSRepositoryClassName() — Method in class Configuration
Configuration::setRepositoryFactory() — Method in class Configuration
Configuration::setPersistentCollectionFactory() — Method in class Configuration
Configuration::setPersistentCollectionGenerator() — Method in class Configuration
PreUpdateEventArgs::setNewValue() — Method in class PreUpdateEventArgs
Sets the new value of this field.
HydratorFactory::setUnitOfWork() — Method in class HydratorFactory
Sets the UnitOfWork instance.
AlnumGenerator::setPad() — Method in class AlnumGenerator
Set padding on generated id
AlnumGenerator::setAwkwardSafeMode() — Method in class AlnumGenerator
Enable awkwardSafeMode character set
AlnumGenerator::setChars() — Method in class AlnumGenerator
Set the character set used for ID generation
$IncrementGenerator#startingIdProperty in class IncrementGenerator
IncrementGenerator::setCollection() — Method in class IncrementGenerator
IncrementGenerator::setKey() — Method in class IncrementGenerator
IncrementGenerator::setStartingId() — Method in class IncrementGenerator
$UuidGenerator#saltProperty in class UuidGenerator
A unique environment value to salt each UUID with.
UuidGenerator::setSalt() — Method in class UuidGenerator
Used to set the salt that will be applied to each id
$AbstractField#strategyProperty in class AbstractField
$AbstractIndex#sparseProperty in class AbstractIndex
$Document#shardKeyProperty in class Document
$EmbedMany#strategyProperty in class EmbedMany
$File#shardKeyProperty in class File
$Id#strategyProperty in class Id
$ReferenceMany#storeAsProperty in class ReferenceMany
$ReferenceMany#sortProperty in class ReferenceMany
$ReferenceMany#skipProperty in class ReferenceMany
$ReferenceMany#strategyProperty in class ReferenceMany
$ReferenceOne#storeAsProperty in class ReferenceOne
$ReferenceOne#sortProperty in class ReferenceOne
$ReferenceOne#skipProperty in class ReferenceOne
ShardKeyClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
$ClassMetadata#shardKeyProperty in class ClassMetadata
READ-ONLY: Keys and options describing shard key. Only for sharded collections.
$ClassMetadata#subClassesProperty in class ClassMetadata
READ-ONLY: The names of all subclasses (descendants).
ClassMetadata::setIdentifier() — Method in class ClassMetadata
INTERNAL: Sets the mapped identifier field of this class.
ClassMetadata::setInheritanceType() — Method in class ClassMetadata
Sets the inheritance type used by the class and it's subclasses.
ClassMetadata::setCustomRepositoryClass() — Method in class ClassMetadata
Registers a custom repository class for the document class.
ClassMetadata::setLifecycleCallbacks() — Method in class ClassMetadata
Sets the lifecycle callbacks for documents of this class.
ClassMetadata::setAlsoLoadMethods() — Method in class ClassMetadata
Sets the AlsoLoad methods for documents of this class.
ClassMetadata::setDiscriminatorField() — Method in class ClassMetadata
Sets the discriminator field.
ClassMetadata::setDiscriminatorMap() — Method in class ClassMetadata
Sets the discriminator values used by this class.
ClassMetadata::setDefaultDiscriminatorValue() — Method in class ClassMetadata
Sets the default discriminator value to be used for this class Used for JOINED and SINGLE_TABLE inheritance mapping strategies if the document has no discriminator value
ClassMetadata::setDiscriminatorValue() — Method in class ClassMetadata
Sets the discriminator value for this class.
ClassMetadata::setShardKey() — Method in class ClassMetadata
Set shard key for this Document.
ClassMetadata::setReadPreference() — Method in class ClassMetadata
Sets the read preference used by this class.
ClassMetadata::setWriteConcern() — Method in class ClassMetadata
Sets the write concern used by this class.
ClassMetadata::setChangeTrackingPolicy() — Method in class ClassMetadata
Sets the change tracking policy used by this class.
ClassMetadata::setDatabase() — Method in class ClassMetadata
Set the database this Document is mapped to.
ClassMetadata::setCollection() — Method in class ClassMetadata
Sets the collection this Document is mapped to.
ClassMetadata::setBucketName() — Method in class ClassMetadata
ClassMetadata::setChunkSizeBytes() — Method in class ClassMetadata
ClassMetadata::setCollectionCapped() — Method in class ClassMetadata
Set whether or not the documents collection is capped.
ClassMetadata::setCollectionSize() — Method in class ClassMetadata
Set the collection size.
ClassMetadata::setCollectionMax() — Method in class ClassMetadata
Set the collection max.
ClassMetadata::setIdGenerator() — Method in class ClassMetadata
Sets the ID generator used to generate IDs for instances of this class.
ClassMetadata::setIdentifierValue() — Method in class ClassMetadata
Sets the document identifier of a document.
ClassMetadata::setFieldValue() — Method in class ClassMetadata
Sets the specified field to the specified value on the given document.
ClassMetadata::setIdGeneratorType() — Method in class ClassMetadata
Sets the type of Id generator to use for the mapped class.
ClassMetadata::setIdGeneratorOptions() — Method in class ClassMetadata
Sets the Id generator options.
ClassMetadata::setSubclasses() — Method in class ClassMetadata
Sets the mapped subclasses of this class.
ClassMetadata::setParentClasses() — Method in class ClassMetadata
Sets the parent class names.
ClassMetadata::setVersionMapping() — Method in class ClassMetadata
Sets the version field mapping used for versioning. Sets the default value to use depending on the column type.
ClassMetadata::setVersioned() — Method in class ClassMetadata
Sets whether this class is to be versioned for optimistic locking.
ClassMetadata::setVersionField() — Method in class ClassMetadata
Sets the name of the field that is to be used for versioning if this class is versioned for optimistic locking.
ClassMetadata::setLockMapping() — Method in class ClassMetadata
Sets the version field mapping used for versioning. Sets the default value to use depending on the column type.
ClassMetadata::setLockable() — Method in class ClassMetadata
Sets whether this class is to allow pessimistic locking.
ClassMetadata::setLockField() — Method in class ClassMetadata
Sets the name of the field that is to be used for storing whether a document is currently locked or not.
ClassMetadataFactory::setDocumentManager() — Method in class ClassMetadataFactory
ClassMetadataFactory::setConfiguration() — Method in class ClassMetadataFactory
SimplifiedXmlDriverClass in namespace Doctrine\ODM\MongoDB\Mapping\Driver
XmlDriver that additionally looks for mapping information in a global file.
MappingException::simpleReferenceRequiresTargetDocument() — Method in class MappingException
MappingException::simpleReferenceMustNotTargetDiscriminatedDocument() — Method in class MappingException
MappingException::shardKeyInSingleCollInheritanceSubclass() — Method in class MappingException
MongoDBException::shardKeyFieldCannotBeChanged() — Method in class MongoDBException
MongoDBException::shardKeyFieldMissing() — Method in class MongoDBException
PersistentCollectionInterface::setDocumentManager() — Method in class PersistentCollectionInterface
Sets the document manager and unit of work (used during merge operations).
PersistentCollectionInterface::setMongoData() — Method in class PersistentCollectionInterface
Sets the array of raw mongo data that will be used to initialize this collection.
PersistentCollectionInterface::setHints() — Method in class PersistentCollectionInterface
Set hints to account for during reconstitution/lookup of the documents.
PersistentCollectionInterface::setDirty() — Method in class PersistentCollectionInterface
Sets a boolean flag, indicating whether this collection is dirty.
PersistentCollectionInterface::setOwner() — Method in class PersistentCollectionInterface
INTERNAL: Sets the collection's owning entity together with the AssociationMapping that describes the association between the owner and the elements of the collection.
PersistentCollectionInterface::setInitialized() — Method in class PersistentCollectionInterface
Sets the initialized flag of the collection, forcing it into that state.
PersistentCollectionTrait::setDocumentManager() — Method in class PersistentCollectionTrait
{@inheritdoc}
PersistentCollectionTrait::setMongoData() — Method in class PersistentCollectionTrait
{@inheritdoc}
PersistentCollectionTrait::setHints() — Method in class PersistentCollectionTrait
{@inheritdoc}
PersistentCollectionTrait::setDirty() — Method in class PersistentCollectionTrait
{@inheritdoc}
PersistentCollectionTrait::setOwner() — Method in class PersistentCollectionTrait
{@inheritdoc}
PersistentCollectionTrait::setInitialized() — Method in class PersistentCollectionTrait
{@inheritdoc}
PersistentCollectionTrait::set() — Method in class PersistentCollectionTrait
{@inheritdoc}
PersistentCollectionTrait::slice() — Method in class PersistentCollectionTrait
{@inheritdoc}
ProxyFactory::skipClass() — Method in class ProxyFactory
{@inheritDoc}
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::setNewObj() — Method in class Builder
Set the expression's "new object".
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::setQueryArray() — Method in class Builder
Set the expression's query criteria.
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::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.
Expr::set() — Method in class Expr
Set the current field to a value.
Expr::setClassMetadata() — Method in class Expr
Sets ClassMetadata for document being queried.
Expr::setNewObj() — Method in class Expr
Set the "new object".
Expr::setOnInsert() — Method in class Expr
Set the current field to the value if the document is inserted in an upsert operation.
Expr::setQuery() — Method in class Expr
Set the query criteria.
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.
BsonFilter::setParameter() — Method in class BsonFilter
Sets a parameter that can be used by the filter.
Query::setHydrate() — Method in class Query
Sets whether or not to hydrate the documents to objects.
Query::setReadOnly() — Method in class Query
Set whether documents should be registered in UnitOfWork. If document would already be managed it will be left intact and new instance returned.
Query::setRefresh() — Method in class Query
Set whether to refresh hydrated documents that are already in the identity map.
SchemaManagerClass in namespace Doctrine\ODM\MongoDB
ShardCommandClass in namespace Doctrine\ODM\MongoDB\Tools\Console\Command\Schema
StringTypeClass in namespace Doctrine\ODM\MongoDB\Types
The String type.
UnitOfWork::setParentAssociation() — Method in class UnitOfWork
Sets the parent association for a given embedded document.
UnitOfWork::setDocumentPersister() — Method in class UnitOfWork
Set the document persister instance to use for the given document name
UnitOfWork::setDocumentChangeSet() — Method in class UnitOfWork
INTERNAL: Sets the changeset for a document.
UnitOfWork::scheduleForInsert() — Method in class UnitOfWork
Schedules a document for insertion into the database.
UnitOfWork::scheduleForUpsert() — Method in class UnitOfWork
Schedules a document for upsert into the database and adds it to the identity map
UnitOfWork::scheduleForUpdate() — Method in class UnitOfWork
Schedules a document for being updated.
UnitOfWork::scheduleForDelete() — Method in class UnitOfWork
INTERNAL: Schedules a document for deletion.
UnitOfWork::scheduleForDirtyCheck() — Method in class UnitOfWork
Schedules a document for dirty-checking at commit-time.
UnitOfWork::scheduleOrphanRemoval() — Method in class UnitOfWork
INTERNAL: Schedules an embedded document for removal. The remove() operation will be invoked on that document at the beginning of the next commit of this UnitOfWork.
UnitOfWork::scheduleCollectionDeletion() — Method in class UnitOfWork
INTERNAL: Schedules a complete collection for removal when this UnitOfWork commits.
UnitOfWork::scheduleCollectionUpdate() — Method in class UnitOfWork
INTERNAL: Schedules a collection for update when this UnitOfWork commits.
UnitOfWork::setOriginalDocumentData() — Method in class UnitOfWork
UnitOfWork::setOriginalDocumentProperty() — Method in class UnitOfWork
INTERNAL: Sets a property value of the original data array of a document.
UnitOfWork::size() — Method in class UnitOfWork
Calculates the size of the UnitOfWork. The size of the UnitOfWork is the number of documents in the identity map.

T

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.
Expr::then() — Method in class Expr
Adds a case statement for the current branch of the $switch operator.
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.
CachingIterator::toArray() — Method in class CachingIterator
Iterator::toArray() — Method in class Iterator
PrimingIterator::toArray() — Method in class PrimingIterator
$AbstractField#typeProperty in class AbstractField
$EmbedMany#typeProperty in class EmbedMany
$EmbedMany#targetDocumentProperty in class EmbedMany
$EmbedOne#typeProperty in class EmbedOne
$EmbedOne#targetDocumentProperty in class EmbedOne
$ChunkSize#typeProperty in class ChunkSize
$Filename#typeProperty in class Filename
$Length#typeProperty in class Length
$Metadata#typeProperty in class Metadata
$Metadata#targetDocumentProperty in class Metadata
$UploadDate#typeProperty in class UploadDate
$Id#typeProperty in class Id
$Inheritance#typeProperty in class Inheritance
$ReadPreference#tagsProperty in class ReadPreference
$ReferenceMany#typeProperty in class ReferenceMany
$ReferenceMany#targetDocumentProperty in class ReferenceMany
$ReferenceOne#typeProperty in class ReferenceOne
$ReferenceOne#targetDocumentProperty in class ReferenceOne
MappingException::typeExists() — Method in class MappingException
MappingException::typeNotFound() — Method in class MappingException
PersistentCollectionInterface::takeSnapshot() — Method in class PersistentCollectionInterface
INTERNAL: Tells this collection to take a snapshot of its current state reindexing itself numerically if using save strategy that is enforcing BSON array.
PersistentCollectionTrait::takeSnapshot() — Method in class PersistentCollectionTrait
{@inheritdoc}
PersistentCollectionTrait::toArray() — Method in class PersistentCollectionTrait
{@inheritdoc}
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.
TimestampTypeClass in namespace Doctrine\ODM\MongoDB\Types
The Timestamp type.
TypeClass in namespace Doctrine\ODM\MongoDB\Types
The Type interface.
UnitOfWork::tryGetById() — Method in class UnitOfWork
INTERNAL: Tries to get a document by its identifier hash. If no document is found for the given hash, FALSE is returned.

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\ODM\MongoDB\Aggregation\Stage
Fluent interface for adding a $unwind stage to an aggregation pipeline.
DocumentManager::unlock() — Method in class DocumentManager
Releases a lock on the given document.
UuidGeneratorClass in namespace Doctrine\ODM\MongoDB\Id
Generates UUIDs.
$AbstractIndex#uniqueProperty in class AbstractIndex
UploadDateClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations\File
$ShardKey#uniqueProperty in class ShardKey
UniqueIndexClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Specifies a unique index on a field
$UniqueIndex#uniqueProperty in class UniqueIndex
MongoDBException::unknownDocumentNamespace() — Method in class MongoDBException
PersistentCollectionInterface::unwrap() — Method in class PersistentCollectionInterface
Returns the wrapped Collection instance.
PersistentCollectionTrait::unwrap() — Method in class PersistentCollectionTrait
{@inheritdoc}
CollectionPersister::update() — Method in class CollectionPersister
Updates a PersistentCollection instance deleting removed rows and inserting new rows.
DocumentPersister::update() — Method in class DocumentPersister
Updates the already persisted document if it has any new changesets.
DocumentPersister::unlock() — Method in class DocumentPersister
Releases any lock that exists on this document.
Builder::unsetField() — Method in class Builder
Unset the current field.
Builder::updateOne() — Method in class Builder
Builder::updateMany() — Method in class Builder
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.
DefaultGridFSRepository::uploadFromStream() — Method in class DefaultGridFSRepository
DefaultGridFSRepository::uploadFromFile() — Method in class DefaultGridFSRepository
Writes the contents of a file to a GridFS file.
$DocumentRepository#uowProperty in class DocumentRepository
GridFSRepository::uploadFromStream() — Method in class GridFSRepository
Writes the contents of a readable stream to a GridFS file.
GridFSRepository::uploadFromFile() — Method in class GridFSRepository
Writes the contents of a file to a GridFS file.
UploadOptionsClass in namespace Doctrine\ODM\MongoDB\Repository
SchemaManager::updateIndexes() — Method in class SchemaManager
Ensure indexes exist for all mapped document classes.
SchemaManager::updateDocumentIndexes() — Method in class SchemaManager
Ensure indexes exist for the mapped document class.
UpdateCommandClass in namespace Doctrine\ODM\MongoDB\Tools\Console\Command\Schema
UnitOfWorkClass in namespace Doctrine\ODM\MongoDB
The UnitOfWork is responsible for tracking changes to objects during an "object-level" transaction and for writing out changes to the database in the correct order.
UnitOfWork::unlock() — Method in class UnitOfWork
Releases a lock on the given document.
UnitOfWork::unscheduleOrphanRemoval() — Method in class UnitOfWork
INTERNAL: Unschedules an embedded or referenced object for removal.
UnitOfWork::unscheduleCollectionDeletion() — Method in class UnitOfWork
INTERNAL: Unschedules a collection from being deleted when this UnitOfWork commits.
UnitOfWork::unscheduleCollectionUpdate() — Method in class UnitOfWork
INTERNAL: Unschedules a collection from being updated when this UnitOfWork commits.
CollectionHelper::usesSet() — Method in class CollectionHelper
Returns whether strategy uses $set to update its data.

V

CachingIterator::valid() — Method in class CachingIterator
HydratingIterator::valid() — Method in class HydratingIterator
PrimingIterator::valid() — Method in class PrimingIterator
VersionClass in namespace Doctrine\ODM\MongoDB\Mapping\Annotations
Specifies a field to use for optimistic locking
$ClassMetadata#versionFieldProperty in class ClassMetadata
READ-ONLY: The name of the field which is used for versioning in optimistic locking (if any).
ClassMetadataFactory::validateIdentifier() — Method in class ClassMetadataFactory
Validates the identifier mapping.
ValidateCommandClass in namespace Doctrine\ODM\MongoDB\Tools\Console\Command\Schema

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.
$Document#writeConcernProperty in class Document
$File#writeConcernProperty in class File
$ClassMetadata#writeConcernProperty in class ClassMetadata
READ-ONLY: Describes the level of acknowledgement requested from MongoDB for write operations.
ClassMetadataFactory::wakeupReflection() — Method in class ClassMetadataFactory
{@inheritDoc}
Builder::where() — Method in class Builder
Specify a JavaScript expression to use for matching documents.
Expr::where() — Method in class Expr
Specify a JavaScript expression to use for matching documents.
QueryExpressionVisitor::walkComparison() — Method in class QueryExpressionVisitor
Converts a comparison expression into the target query language output.
QueryExpressionVisitor::walkCompositeExpression() — Method in class QueryExpressionVisitor
Converts a composite expression into the target query language output.
QueryExpressionVisitor::walkValue() — Method in class QueryExpressionVisitor
Converts a value expression into the target query language part.

X

XmlDriverClass in namespace Doctrine\ODM\MongoDB\Mapping\Driver
XmlDriver is a metadata driver that enables mapping through XML files.
MappingException::xmlMappingFileInvalid() — Method in class MappingException

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::__construct() — Method in class Expr
Stage::__construct() — Method in class Stage
AbstractBucket::__construct() — Method in class AbstractBucket
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
Match::__construct() — Method in class Match
Group::__construct() — Method in class Group
Limit::__construct() — Method in class Limit
Lookup::__construct() — Method in class Lookup
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
DocumentManager::__construct() — Method in class DocumentManager
Creates a new Document that operates on the given Mongo connection and uses the given Configuration.
DocumentNotFoundEventArgs::__construct() — Method in class DocumentNotFoundEventArgs
PostCollectionLoadEventArgs::__construct() — Method in class PostCollectionLoadEventArgs
PreLoadEventArgs::__construct() — Method in class PreLoadEventArgs
PreUpdateEventArgs::__construct() — Method in class PreUpdateEventArgs
HydratorFactory::__construct() — Method in class HydratorFactory
CachingIterator::__construct() — Method in class CachingIterator
Initialize the iterator and stores the first item in the cache. This effectively rewinds the Traversable and the wrapping Generator, which will execute up to its first yield statement. Additionally, this mimics behavior of the SPL iterators and allows users to omit an explicit call to rewind() before using the other methods.
HydratingIterator::__construct() — Method in class HydratingIterator
PrimingIterator::__construct() — Method in class PrimingIterator
LockException::__construct() — Method in class LockException
ClassMetadata::__construct() — Method in class ClassMetadata
Initializes a new ClassMetadata instance that will hold the object-document mapping metadata of the class with the given name.
ClassMetadata::__sleep() — Method in class ClassMetadata
Determines which fields get serialized.
ClassMetadata::__wakeup() — Method in class ClassMetadata
Restores some state that can not be serialized/unserialized.
SimplifiedXmlDriver::__construct() — Method in class SimplifiedXmlDriver
{@inheritDoc}
XmlDriver::__construct() — Method in class XmlDriver
{@inheritDoc}
PersistentCollection::__construct() — Method in class PersistentCollection
DefaultPersistentCollectionGenerator::__construct() — Method in class DefaultPersistentCollectionGenerator
PersistentCollectionTrait::__sleep() — Method in class PersistentCollectionTrait
Called by PHP when this collection is serialized. Ensures that only the elements are properly serialized.
PersistentCollectionTrait::__clone() — Method in class PersistentCollectionTrait
Cleanup internal state of cloned persistent collection.
CollectionPersister::__construct() — Method in class CollectionPersister
DocumentPersister::__construct() — Method in class DocumentPersister
PersistenceBuilder::__construct() — Method in class PersistenceBuilder
Initializes a new PersistenceBuilder instance.
ProxyFactory::__construct() — Method in class ProxyFactory
Initializes a new instance of the ProxyFactory class that is connected to the given DocumentManager.
Builder::__construct() — Method in class Builder
Construct a Builder
Builder::__clone() — Method in class Builder
Expr::__construct() — Method in class Expr
FilterCollection::__construct() — Method in class FilterCollection
BsonFilter::__construct() — Method in class BsonFilter
Query::__construct() — Method in class Query
Please note that $requireIndexes was deprecated in 1.2 and will be removed in 2.0
Query::__clone() — Method in class Query
QueryExpressionVisitor::__construct() — Method in class QueryExpressionVisitor
ReferencePrimer::__construct() — Method in class ReferencePrimer
DocumentRepository::__construct() — Method in class DocumentRepository
Initializes this instance with the specified document manager, unit of work and class metadata.
SchemaManager::__construct() — Method in class SchemaManager
DocumentManagerHelper::__construct() — Method in class DocumentManagerHelper
MetadataFilter::__construct() — Method in class MetadataFilter
Type::__toString() — Method in class Type
UnitOfWork::__construct() — Method in class UnitOfWork
Initializes a new UnitOfWork instance, bound to the given DocumentManager.
LifecycleEventManager::__construct() — Method in class LifecycleEventManager