Benjamin Eberlei
f07c576e5f
Merge pull request #932 from deeky666/DDC-2919
...
[DDC-2919] Make lock mode usage consistent
2014-02-08 15:27:35 +01:00
shustrik
b167a64544
remove doc
2014-02-06 20:08:07 +03:00
shustrik
12985b7811
add iterator to tree walker chain
2014-02-06 19:39:40 +03:00
shustrik
6fe40b055f
fix return walker
2014-02-06 16:18:35 +03:00
shustrik
a6b43b93ac
fix TreeWalkerChain.
...
Create walker object in foreach.
2014-02-06 16:06:00 +03:00
Steve Müller
a6c8ab8a5f
make lock mode usage consistent
2014-02-05 15:13:53 +01:00
Steve Müller
b9ff877f14
fix SQL generation on table lock hint capable platforms
2014-01-15 22:46:09 +01:00
Benjamin Eberlei
96ec3c1613
Merge pull request #830 from sandermarechal/sort-alias
...
[DDC-2764] Prefix criteria orderBy with rootAlias
2014-01-02 14:15:01 -08:00
Fabio B. Silva
61bff7d5f6
Fix CS and update docs
2013-12-16 11:05:04 -05:00
Fabio B. Silva
3140593e9b
Second level cache
2013-12-16 11:05:04 -05:00
Brad Sahlhoff
96fb0d7e14
Changed logic to allow joining games, and becoming friends
...
Added Spacing
2013-11-19 11:09:23 -05:00
Brad Sahlhoff
c2997b3961
Add ability to test same parameter name for multiple values.
2013-11-18 10:36:46 -05:00
Fabio B. Silva
3529cd4282
Merge pull request #797 from peterkokot/patch-1
...
CS fixes
2013-11-16 10:52:09 -08: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
Benjamin Eberlei
fc53bc8909
Fix some LGPL occurances to MIT
2013-10-02 12:07:37 +02: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
228a501014
Made the code prettier :)
2013-10-01 16:53:53 +02: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
flip111
76fda9562c
Update SqlWalker.php fixed wrong GROUP BY clause on SQL Server platform
...
Without this patch a query would like like:
```
SELECT c0_.Country AS sclr0
FROM Continent c0_ WITH (NOLOCK)
WHERE c0_.Country = 38
GROUP BY sclr0
```
Using the column alias in the GROUP BY clause. However this is not allowed on SQL Server. References:
1. http://stackoverflow.com/a/3841804
2. http://technet.microsoft.com/en-us/library/ms189499.aspx (Logical Processing Order of the SELECT statement)
The correct query should be:
```
SELECT c0_.Country AS sclr0
FROM Continent c0_ WITH (NOLOCK)
WHERE c0_.Country = 38
GROUP BY c0_.Country
```
2013-09-26 14:11:56 +02:00
Peter Kokot
dca09148ca
CS fixes
2013-09-22 02:12:30 +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
Benjamin Eberlei
5c2157219d
[DDC-2660] Fix error with NativeSQL, ResultSetMappingBuilder and Associations as Primary Key.
2013-09-08 14:38:59 +02:00
Guilherme Blanco
cc83ac6ce8
Centralize InputParameter SQL generation.
2013-08-19 00:33:45 -04: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
amakhov
d8fcdc0c54
Add hour to DATE_ADD and DATE_SUB. Excepcion message fix
2013-08-06 12:40:30 +04:00
amakhov
dd975fe53d
Add hour to DATE_ADD and DATE_SUB
2013-08-06 12:20:22 +04: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
Guilherme Blanco
a53fe14fa2
Merge pull request #717 from hackedd/patch-1
...
Allow query parameters starting with an underscore
2013-07-29 13:37:51 -07:00
Roger Llopart Pla
9b574ad53b
Update Parser.php
...
Fix the docummentation for Parser::Literal()
2013-07-24 13:07:06 +02:00
Paul
6aa58d9939
Allow query parameters starting with an underscore
2013-07-04 10:12:36 +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
Fabio B. Silva
d685f592fe
Fix DDC-2494
2013-06-12 10:30:51 -04:00
Dustin Thomson
529064aff2
Modified identity function to work with joined inheritance tables.
...
Added regression tests
2013-06-11 18:09:49 -06:00
Fabio B. Silva
710d0d1109
Fix DDC-1995
2013-06-07 17:24:05 -04:00
John Brown
4ef043fc3b
updating sql walker to use quote strategy in joins
2013-06-07 08:56:58 -07:00
John Brown
afb9c829e2
updating sql walker to use quote strategy in joins
2013-06-07 08:49:49 -07:00
John Brown
77b905eaa8
Implement QuoteStrategy on SqlWalker walkRangeVariableDeclaration
...
Based on:
http://www.doctrine-project.org/jira/browse/DDC-1845
cb72219b11
2013-06-06 15:08:22 -07:00
Fabio B. Silva
27511374ec
Fix DDC-2475
2013-06-04 23:50:43 -04:00
Benjamin Eberlei
bf9673203c
Merge pull request #639 from goetas/indexby-metadata
...
Added abillity to use metacolumn as indexBy
2013-05-09 23:53:26 -07:00
Vladislav Vlastovskiy
33888f1b08
Swapped places indexBy and condition in accordance with EBNF
2013-05-09 03:30:48 +04:00
EuKov
99ec4dc72c
Fixed typo in SQLFilter (use statement ClassMetadata)
2013-04-23 20:46:19 +03:00
Benjamin Eberlei
fe238d03c8
Merge pull request #618 from FabioBatSilva/DDC-2188
...
[DDC-2188] Fix arithmetic priority
2013-04-06 07:56:36 -07:00