The Doctrine Project is a collection of open source libraries and tools for dealing with database abstraction and Object-Relational Mapping written in PHP.
I'm trying to build a query with the doctrine query builder which joins a non related table like this: $query = $…
php mysql symfony doctrine query-builderLets say I have a table that holds information about festivals. Each festival has a start and end date. I …
php sql doctrine criteria doctrine-ormI am looking for the best way to go about testing the following static method (specifically using a Doctrine Model): …
php unit-testing mocking doctrine phpunitLet's suppose I retrieve an entity $e and modify its state with setters: $e->setFoo('a'); $e->setBar(…
php symfony doctrine-orm doctrineI have a field named "birthday" in doctrine entity. I would like to create an object to add to database …
symfony doctrine doctrine-ormI would like to select everything + MAX value and receive only rows having max values. $query = $this->createQueryBuilder('s'); $…
symfony doctrine-orm doctrine symfony-2.1There are some other questions on this subject already, but none of them were really helpful. I am new to …
php symfony doctrineI losted trilion hours google this but none of the solutions were good. I have this querybuilder: $qb2=$this->…
doctrine dql query-builderI have some extremely complex queries that I need to use to generate a report in my application. I'm using …
sql symfony1 doctrine