1
0
Fork 0
mirror of synced 2025-04-01 20:36:14 +03:00
doctrine2/tests/Doctrine/Tests/ORM/Tools
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
..
Console/Command Symfony/Components renamed into Symfony/Component 2010-08-23 12:44:15 -05:00
doctrine1schema Removed onUpdate property on join columns 2011-06-28 15:50:14 -04:00
Export Merge Improve Error Messages into 2.2 2011-12-21 23:56:25 +01:00
Pagination Pagination using SQL walkers 2012-03-06 16:24:44 +01:00
ConvertDoctrine1SchemaTest.php Significantly updated the Help of the ConvertMapping and GenerateEntities Commands to help people using and understanding their scope. Added an additional --force flag to ConvertMapping command. 2011-01-23 20:25:59 +01:00
EntityGeneratorTest.php Merge pull request #253 from mrmkrs/protectedfields 2012-01-28 13:13:37 -08:00
ResolveTargetEntityListenerTest.php Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
SchemaToolTest.php Implement custom options on table level 2012-01-26 15:05:26 +01:00
SchemaValidatorTest.php [DDC-1649] Add additional check for not allowed mapping of dependent association keys. 2012-02-20 15:55:18 +01:00
SetupTest.php DDC-1641 - Fix test producing failure when skipped. 2012-02-10 21:39:17 +01:00