1
0
mirror of synced 2024-12-14 07:06:04 +03:00
doctrine2/lib/Doctrine/ORM/Query
Alexander 2653d735e2 [DDC-551] Added state of the complete filter collection to the EM
Previously it was sufficient to use the old parser result for a Query if
the DQL didn't change (Query::STATE_CLEAN), but now there must also be
no changes to the filter collection of the EntityManager.

In the old situation each Query object would create a hash of all the
filter objects on it's own. That was not very efficient.

This commit adds the state of the current filter collection to the
EntityManager. The state will be set to FILTERS_STATE_DIRTY as a filter
is enabled, removed or a parameter is set on a filter. The hash is also
computed by the EntityManager, but only if the filter collection is
dirty. This will prevent recalculation of the hash with each query.
2011-08-16 13:34:42 +02:00
..
AST Implemented COALESCE and NULLIF support in DQL. 2011-06-17 16:16:22 -03:00
Exec [DDC-982] Implemented more unique sql table alias. 2011-02-20 01:30:58 -03:00
Expr [DDC-1237] Fixed issue with QueryBuilder where user may have includes nested complex expression in a string format while consuming a composite expression (AND or OR). 2011-07-03 01:48:18 -03:00
Filter [DDC-551] Added state of the complete filter collection to the EM 2011-08-16 13:34:42 +02:00
Expr.php [DDC-1012] Implemented Expr isNull and isNotNull. 2011-02-20 01:53:55 -03:00
Lexer.php [DDC-1147] Allowed usage of 0-based input parameters in DQL. 2011-05-11 17:30:42 -03:00
ParameterTypeInferer.php [DDC-1148] Implement auto-inference of types in setParameter. 2011-05-12 23:05:45 -03:00
Parser.php Implemented COALESCE and NULLIF support in DQL. 2011-06-17 16:16:22 -03:00
ParserResult.php [2.0] Fix Tab Formating in ParserResult class, added doc-comments and fixed a missing variable initialization error for certain query special cases. 2009-11-06 17:03:59 +00:00
Printer.php [2.0] Another step towards finishing namespace refactoring 2009-02-20 05:46:20 +00:00
QueryException.php DDC-1194 - Improve error handling for DQL INSTANCE OF 2011-06-05 10:48:21 +02:00
ResultSetMapping.php DDC-1080 - Fix bug with hydration of derived entities/foreign key as primary key. 2011-05-17 23:42:24 +02:00
ResultSetMappingBuilder.php Replaced prefix parameter with renamedColumns; Added exception when duplicate columns found 2011-04-14 20:55:03 -04:00
SqlWalker.php [DDC-551] Added filters to SQLWalker 2011-08-16 12:21:43 +02:00
TreeWalker.php [2.0][DDC-482] Added support to INSTANCE OF in DQL. 2010-07-30 01:30:02 -03:00
TreeWalkerAdapter.php [2.0][DDC-482] Added support to INSTANCE OF in DQL. 2010-07-30 01:30:02 -03:00
TreeWalkerChain.php [2.0][DDC-482] Added support to INSTANCE OF in DQL. 2010-07-30 01:30:02 -03:00