1
0
mirror of synced 2024-12-14 07:06:04 +03:00
doctrine2/tests/Doctrine/Tests/ORM
Sander Marechal edd5d14b06 Pagination using SQL walkers
A CountSqlWalker and LimitSubquerySqlWalker have been implemented. By
default the Paginator will use these SQL walkers. When a query already
uses custom SQL walkers, the Paginator will fall back to the existing
TreeWalker implementations. Improvements:

* Support for more complex DQL queries using named mixed results with
  GROUP BY and HAVING. For example:

  SELECT g, u, COUNT(u.id) AS userCount
      FROM Entity\Group g LEFT JOIN g.users u
      GROUP BY g.id
      HAVING userCount > 0

* Support for entities with composite primary keys in the CountSqlWalker
  and LimitSubquerySqlWalker. Only the WhereInWalker still needs to be
  updated for full composite primary key support. But someone smarter
  than me needs to look at that and figure out how to build a WHERE IN
  query that can select rows based on multiple columns.
2012-03-06 16:24:44 +01:00
..
Criteria Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
Entity Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
Functional Pagination using SQL walkers 2012-03-06 16:24:44 +01:00
Hydration Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
Id Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
Mapping [DDC-1654] Add support for orphanRemoval on ManyToMany associations. This only makes sense when ManyToMany is used as uni-directional OneToMany association with join table. The join column has a unique constraint on it to enforce this on the DB level, but we dont validate that this actually happens. Foreign Key constraints help prevent issues and notify developers early if they use it wrong. 2012-02-20 10:33:16 +01:00
Performance Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
Persisters Fix namespace of BasicEntityPersisterTypeValueSqlTest 2012-01-15 22:31:01 +11:00
Proxy [DDC-1604] Have ORM Proxy implement new \Doctrine\Common\Persistence\Proxy 2012-01-16 12:50:36 +01:00
Query [DDC-1652] Fix SqlWalker to include foreign key identifiers in SQL SELECT statement no matter what the meta column setting is suggesting. 2012-02-20 17:48:34 +01:00
Tools Pagination using SQL walkers 2012-03-06 16:24:44 +01:00
CommitOrderCalculatorTest.php Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
EntityManagerTest.php error messages 2011-12-22 11:05:11 -02:00
PersistentCollectionTest.php Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
QueryBuilderTest.php [DDC-1619] Add QueryBuilder#distinct 2012-01-25 10:19:01 +01:00
UnitOfWorkTest.php Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00