mongodb-odm icon indicating copy to clipboard operation
mongodb-odm copied to clipboard

The Official PHP MongoDB ORM/ODM

Results 105 mongodb-odm issues
Sort by recently updated
recently updated
newest added

ODM automatically decides whether a document should be inserted or upserted based on whether or not it has an identifier. The logic requires that the identifier is set manually **before**...

Feature

Mapped `RefereceMany` associations are hydrated as empty `PersistentCollection` objects but mapped `ReferenceOne` associations are hydrated immediately, causing an extra database query that may not be needed.

Feature
Idea

This was raised by @blockjon and @daniphp (https://github.com/doctrine/mongodb-odm/pull/1096#issuecomment-143741431) - I agree that this could be done, `atomicSetArray` was chosen to keep collections as list by default HOWEVER this is a...

Idea

Is there any plans to use MongoWriteBatch classes for updates/inserts? http://php.net/manual/ru/mongo.batch.php It would be awesome ---- Edit from @jmikola: This issue was originally opened when ODM was using the legacy...

Idea

In addition to #1178, would be great to support the use of non-primitive values in queries, exactly as ORM does. Auto-converting parameters to database values makes things look more consistent...

Feature

Given we have an abstract class which is declared a MappedSuperclass like this: ``` /** * @MongoDB\MappedSuperclass(repositoryClass="EventBundle\Repository\MongoDB\ReportRepository") * @MongoDB\DiscriminatorField(fieldName="type") * @MongoDB\DiscriminatorMap({ * "royalty_batch" = "TheaterBundle\Document\Event\Report\RoyaltyBatchReport", * "royalty" = "TheaterBundle\Document\Event\Report\RoyaltyReport", *...

Question

This depends on doctrine/mongodb#128. See: http://docs.mongodb.org/manual/reference/operator/push/#op._S_push

Feature
Task

See https://github.com/doctrine/mongodb-odm/pull/444#issuecomment-12294445: > Don't differentiate between integers and floats (see aa168b1), which will make this consistent with MongoDB's comparison behavior > > Beyond that, the only caveat I see is...

Bug

This seems to be incorrect behaviour considering types like `Hash` implement their own `null` checking. Furthermore it prevents marshalling nulls into empty collections. It should therefore be up to the...

Bug

### Bug Report Running the `doctrine:mongodb:schema:update` command fails with error `Index with name: already exists with a different name` if there already exists an index with same keys and options...

Bug