-
### Listener code
```
-
I'm trying to use the "unique validator" from the DoctrineMongoDBBundle, but I get this error:
[BadMethodCallException] Doctrine\ODM\MongoDB\Mapping\ClassMetadataInfo::getAssociationTargetClass($asso…
-
Hi,
My php application use the "Europe/Paris" timezone so when I save an entity to mongodb the date is converted to UTC date. It's not problem. But if I load an entity with date the datetime loaded …
-
Embedded documents are no more persisted (`isEmbeddedDocument` is `false`) without setting the `type` option to `embeddedDocument`:
```
User:
type: document
embedOne:
address:…
kaiwa updated
6 years ago
-
Similar to ORM, I'm very inclined to drop the YAML mapping driver for 2.0.
In applications, I'd recommend using annotations to map documents: the mapping is where the code lives, and since the code…
-
In my opinion there is a isset($mapping['strategy']) check missing:
https://github.com/doctrine/mongodb-odm/blob/957f4199c417aec34e489d297563afa34bd5b174/lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadat…
-
There is a problem with the gridfs files deletion.
going by description in https://doctrine-mongodb-odm.readthedocs.org/en/latest/reference/storing-files-with-mongogridfs.html?highlight=file
I create…
-
I'm just updating dependencies via Composer and going through all packages with minor version updates. I can be sure that Composer won't install any packages with PHP version requirement greater than …
-
### Description
I would like to be able to set some metadata to the retrieved documents when using `find()`, `findOne()` or `aggregate()`.
To do so, a solution is to wrap the `MongoDB\Driver\Cur…
-
MONGODB_URL=mongodb://localhost:27017/symfony
but uses `default` db