Guilherme Blanco
a1d77bdc65
Renamed coll to collection and some small updates to tests.
2015-01-15 03:14:48 +00:00
Marco Pivetta
264cd8ee11
#615 - Refactoring test case to remove duplication
2014-10-19 17:21:13 +02:00
Marco Pivetta
69494dc624
#615 - sql table aliases should stay constant over time
2014-10-19 17:18:30 +02:00
Marco Pivetta
10da2eb85b
#615 - Using a data provider to build aliases for the SqlWalkerTest
2014-10-19 17:16:07 +02:00
Marco Pivetta
17c9388473
#615 - Test coverage annotations
2014-10-19 17:10:39 +02:00
Marco Pivetta
435befd25c
#615 - EOF EOL fixes
2014-10-19 17:09:41 +02:00
Marco Pivetta
d557a0e01b
#615 - assignment alignment
2014-10-19 17:09:27 +02:00
Mike Meier
109b0444f5
add SqlWalkerTest for getSQLTableAlias method
2014-10-19 17:05:34 +02:00
Marco Pivetta
a2e0133a94
Adding DDC-3276 test group
2014-08-27 02:01:56 +02:00
Marco Pivetta
02ba144c8d
Adding test to verify SQL generation with an expression in COUNT()
2014-08-27 01:55:28 +02:00
Daniel Sippel
ae2235fd3c
DDC-2021 sql generation test: remove comment
2014-07-10 00:32:24 +02:00
Daniel Sippel
b31ba98076
DDC-2021 add sql generation test
2014-07-10 00:27:28 +02:00
Daniel Sippel
45358bf5d0
possible fix for DDC-2021
2014-07-09 16:39:44 +02:00
Guilherme Blanco
4874070b3f
Merge branch 'feature/default-query-hints' of https://github.com/Strate/doctrine2 into Strate-default-query-hints
2014-05-15 01:15:34 +00:00
Guilherme Blanco
63d21ca4b2
DDC-3085 Verify ResultVariable works in combination with NullComparisonExpression wihle in HAVING clause.
2014-04-21 04:01:32 +00:00
Guilherme Blanco
6a8ee87268
Made DQL and EBNF in sync.
2014-04-20 20:27:57 +00:00
Guilherme Blanco
a3f95d919b
DDC-3075 Added support for subqueries in NEW operator.
2014-04-20 14:40:51 +00:00
Guilherme Blanco
841bdd5ca5
DDC-2827 Added support for AggregateExpressions in NullComparisonExpression.
2014-04-17 04:39:26 +00:00
Guilherme Blanco
ceada41b83
DDC-2934 Added support for function declarations in order by.
2014-04-17 04:15:35 +00:00
Giorgio Premi
6cb3fa8fb7
Removed all useless occurrence of require_once TestInit.php
2014-04-07 14:43:25 +02:00
Marco Pivetta
f80fceda0e
DDC-3042 - changing SQL generation tests to respect changes in naming strategy
2014-04-04 03:05:48 +02:00
Benjamin Eberlei
2aea3036b6
[DDC-3018] Fix string literals in new operator.
2014-03-23 15:16:09 +01:00
Menno Holtkamp
400f420925
Added MEMBER OF and INSTANCE OF helpers to ExpressionBuilder
2014-03-19 13:00:45 +01:00
Strate
324f200f1b
Merge branch 'master' into bugfix/join-with-condition-placement-fix
2014-02-10 08:22:11 +04:00
shustrik
543ab500da
rename test
2014-02-06 10:53:34 +03:00
shustrik
7107a85041
faild test with multiple HINT_CUSTOM_TREE_WALKERS
...
failed test when we have more than 1 walker HINT_CUSTOM_TREE_WALKERS ,
because walkSelectStatement in TreeWalkerChain saves the last hint _queryComponents result.
2014-02-06 01:27:17 +03:00
Strate
e8d47fa9a3
Added a new configuration option: defaultQueryHints, which allows to populate all queries by default set of hints.
2014-02-04 15:51:53 +01:00
Strate
41ec5fd56d
Fix applying ON/WITH conditions to first join in Class Table Inheritance
...
Now we build nested joins for CTI when using ON/WITH clause.
2014-01-19 20:56:24 +04:00
Steve Müller
b9ff877f14
fix SQL generation on table lock hint capable platforms
2014-01-15 22:46:09 +01:00
Sander Marechal
35a62e9a05
Add rootAlias to Criteria where clauses
2013-11-01 13:43:03 +01:00
Vincent BOURDEIX
5506d7adce
Fixes a Fatal Error when using a subexpression in parenthesis
...
When some dql contains a subselect with expression in parenthesis, the
expression of the $simpleSelectExpression parameter given to
walkSimpleSelectExpression is an instance of AST\ParenthesisExpression.
Before this commit, this case defaulted to
$this->walkEntityIdentificationVariable($expr) where $expr is supposed
to be a string. A fatal error was then yielded.
2013-10-14 15:04:52 +02:00
Guilherme Blanco
be81b46d8e
Merge pull request #791 from myclabs/CriteriaContains
...
Implemented "contains" operator for Criteria expressions
2013-10-11 06:33:40 -07:00
Guilherme Blanco
2c4c26c5d6
Merge pull request #801 from flip111/patch-4
...
Update SqlWalker.php fixed wrong GROUP BY clause on SQL Server platform
2013-10-01 08:21:20 -07:00
flip111
72ae7f5497
Changed GroupBy alias to real column name for all platforms and adjusted failing test accordingly. Has fallback in cases where real column name is not possible (example: Doctrine\Tests\ORM\Query\SelectSqlGenerationTest::testGroupBySupportsIdentificationVariable)
2013-09-30 11:08:42 +02:00
Fabio B. Silva
689da2f36b
[DDC-2668] Fix trim leading zero string
2013-09-16 21:36:19 -04:00
Matthieu Napoli
6f538c509c
Implemented "contains" operator for Criteria expressions
2013-09-16 14:56:04 +02:00
Guilherme Blanco
43fc8bafa7
DDC-1858 Added missing support to ResultVariable in LikeExpression.
2013-08-18 23:52:32 -04:00
Guilherme Blanco
f674445486
Fixed DDC-2235.
2013-08-16 00:07:06 -04:00
Guilherme Blanco
7f1c1d2b4a
Fixed DDC-2506 by manually updating code. Closes PR #708 .
2013-08-13 01:07:34 -04:00
Guilherme Blanco
354d7050dc
Merge pull request #720 from bakura10/fix-paginator
...
Allow to have non-distinct queries
2013-08-05 20:59:12 -07:00
Guilherme Blanco
d9c1782a4f
Properly fixed DDC-1858. Added support for ResultVariable in NullComparisons while using HavingClause.
2013-08-03 17:38:55 -04:00
Guilherme Blanco
0e010994a7
Merge pull request #740 from doctrine/FilterCollectionEnhancement
...
Synchronized support of FilterCollection with ODM by adding missing method
2013-07-29 18:44:10 -07:00
Guilherme Blanco
d4814dec42
Synchronized support of FilterCollection with ODM by adding missing method.
2013-07-29 21:24:08 -04:00
Michaël Gallego
3f112db725
Allow to have non-distinct queries
2013-07-09 17:31:30 +02:00
Paul Hooijenga
b5394fc5a0
Add test for query paremeters starting with underscore
2013-07-05 09:21:50 +02:00
Fabio B. Silva
1cff8b4d98
Fix DDC-2519
2013-06-21 16:07:09 -04:00
Guilherme Blanco
6ef48561ba
Merge pull request #688 from sellingsource/master
...
Implement QuoteStrategy on SqlWalker walkRangeVariableDeclaration
2013-06-12 12:03:24 -07:00
Dustin Thomson
ed7a4bdcf3
Fix typo in test name
2013-06-11 18:38:05 -06:00
Dustin Thomson
529064aff2
Modified identity function to work with joined inheritance tables.
...
Added regression tests
2013-06-11 18:09:49 -06:00
Guilherme Blanco
4e99c5c127
DDC-1858 Added coverage to ticket. Functionality already implemented.
2013-06-11 01:21:47 -04:00