mongodb-odm
mongodb-odm copied to clipboard
The Official PHP MongoDB ORM/ODM
Code below works fine: ```php /** * Class UserStats * @ODM\Document(collection="user_stats") */ class UserStats { /** * @ODM\Id(strategy="NONE") */ private $id; /** @ODM\Field(type="int") */ private $downloaded; /** * @ODM\EmbedOne(targetDocument="core\mongo\keys\UserStatsKey") */...
### Feature Request | Q | A |------------ | ------ | New Feature | yes | RFC | no | BC Break | no #### Summary Do you have plans...
### Feature Request MongoDB v3.2 introduced $arrayElemAt as an Aggregation expression (among many others), which is very useful to filter for Arrays of Embedded documents at a given position, typically...
Original discussion started here: https://twitter.com/webdevilopers/status/724872011638562816 @jmikola Created Feature Request as suggested by @malarzm . ORM implementation: http://doctrine-orm.readthedocs.io/projects/doctrine-orm/en/latest/reference/events.html#entity-listeners Domain-Driven Design use cases also discussed here: https://github.com/webdevilopers/php-ddd/issues/2
I'm not sure if this is officially supported by Doctrine, since it is not documented, but it works - with an error notice. For example, if I have documents A...
### Improvement Request | Q | A |------------ | ------ | New Feature | yes | RFC | no | BC Break | no #### Summary Currently there are 2...
### Feature Request Doctrine now supports sharding key value change. There are some limitations, but nothing critical. The major one - you must provide sharding key in a "where" clause...
### Bug Report | Q | A |------------ | ------ | BC Break | no | Version | 2.1.1 #### Summary Let's say we have `User` document with embedded document...
### Bug Report | Q | A |------------ | ------ | BC Break | no | Version | since 2.1.1 #### Summary After this -> [change](https://github.com/doctrine/mongodb-odm/commit/f04d413ad6a13db90f14502e70f329740aba1b8b) you can not overwrite...
### Feature Request | Q | A |------------ | ------ | New Feature | yes | RFC | no | BC Break | no #### Summary Specifically for the aggregation...