-
I'd like to see a cookbook article on how to use Database interaction in a Test without using the actual database. For example set up a sqlite connection and load some default tables and fixtures into…
-
Hi, I'm trying to find a solution for creating project with PHP7, Symfony3, MongoDB 3+, Doctrine combination. Doctrine ODM is not yet compatible...This mongo-php-adapter was suggested as workaround. B…
-
http://docs.doctrine-project.org/projects/doctrine-mongodb/en/latest/
ghost updated
6 years ago
-
I follow all instructions of documentation but i get this error :
```
Attempted to load class "MongoId" from the global namespace.
Did you forget a "use" statement?
```
- Composer json :
…
-
Hi,
I'm trying to use sonata page bundle inside my project, unfortunately I get this exception when I try to view a page after creating it.
```
The format "" is not supported for deserialization.
`…
Filoz updated
6 years ago
-
Seen by https://github.com/doctrine/mongodb-odm/issues/1653 , we can inject a matchExpr query to $builder->match()->addAnd(...) or $builder->match()->addOr(...).
This is also possible when we write…
-
I have these simple document:
```
/**
* @MongoDB\Document
*/
class Object
{
/**
* @MongoDB\Id
*/
private $id;
/**
* @MongoDB\String
*/
private $title;
/…
-
From README:Usage section:
```
/** @var \Doctrine\ODM\MongoDB\Query\Builder $builder */
$visitor = new \Graviton\Rql\Visitor\MongoOdm($builder);
```
MongoOdm doesn't have constructor and so it ca…
-
I'm writing a new MongoDB ODM for PHP7, which, like Doctrine, will deal with bulk writes.
I'd like to build ODM on top of MongoDB PHP Library, but here is what I found:
Driver's BulkWrite class has …
-
Hi all,
I'm trying to get raw results when using prime(true) option on referenced objects like this :
```
$dm = $this->get('doctrine_mongodb')->getManager();
$qb = $dm->createQueryBuilder('M…