Pascal Borreli
a2cd0f5804
Fixed typos
2013-03-11 00:08:58 +00:00
Fabio B. Silva
452e6912b1
DDC-2268 - regression test
2013-02-02 16:57:17 -02:00
Fabio B. Silva
1d42a5385b
test NOT EXISTS expression
2013-01-18 23:47:31 -02:00
Fabio B. Silva
4dcd5a1286
Fix DDC-2234
2013-01-18 23:18:50 -02:00
Fabio B. Silva
2e90cd9924
Identity function support composite primary key
2012-12-22 10:36:23 -02:00
Fabio B. Silva
b6b493f450
test parentheses
2012-12-21 10:00:40 -02:00
Fabio B. Silva
eda43c77bb
Fix DDC-2208
2012-12-21 10:00:40 -02:00
Fabio B. Silva
2104ae9935
fix DDC-2205
2012-12-20 23:06:30 -02:00
Guilherme Blanco
f4c0fd1744
Added support to subselects in update item.
2012-11-27 14:36:56 -05:00
Benjamin Eberlei
8457a9e77e
Merge pull request #518 from Fran6co/fix-double-on
...
regression fix for left joins (double ON)
2012-11-25 03:27:17 -08:00
Francisco Facioni
9c59ed5891
regression fix for left joins (double ON)
2012-11-20 12:30:52 -03:00
Lukasz Cybula
7b1d84cbdb
Moved CustomTreeWalkersJoinTest to proper namespace and fixed licence
2012-11-20 12:42:05 +01:00
Benjamin Eberlei
fa3f1e088d
Add test for boolean parameter type infering
2012-11-09 22:03:40 +01:00
Gordon Stratton
9e916a2893
Fix for invalid 'double-ON' SQL generation with entity inheritance type JOINED.
...
In SqlWalker::walkJoin(), SqlWalker::walkRangeVariableDeclaration() can be
called which may produce an 'ON' clause if the entity inheritance type is
JOINED. As walkJoin() may then produce another ON clause, this results in
invalid SQL (e.g. '... ON foo = bar ON (baz = quux) ...' when the inheritance
type is JOINED.
This adds a test and a fix for the problem, by checking for an inheritance type
of JOINED in walkJoin() and using AND instead of ON in the appropriate place.
It seems like this part of the code is begging to be refactored. This is my
first foray into Doctrine internals and can't see a way to do this without
stomping all over the rest of the code, but this section seems ripe for cleanup
by somebody who is familiar.
2012-11-05 01:19:25 -08:00
Guilherme Blanco
ec1950d3ca
Merge pull request #448 from stefanklug/master-parserFix
...
Fixed Parser problem for SELECT (((3))) as ....
2012-11-02 17:46:43 -07:00
Martin Hasoň
7f33143502
Added NOT LIKE expression
2012-10-25 12:58:19 +02:00
Stefan Klug
d344407636
added test case
2012-10-08 13:49:31 +02:00
Benjamin Eberlei
235ad8e553
[DDC-2052] Add SqlWalker::setQueryComponent() to allow modification of the query component in a custom output walker
2012-10-06 11:16:16 +02:00
Fabio B. Silva
4dca27962e
support multiple operators
2012-09-29 16:19:01 -03:00
Fabio B. Silva
f0403a5394
test literal values
2012-09-29 16:19:00 -03:00
Fabio B. Silva
e5e45a3a5c
test sql generation
2012-09-29 16:18:59 -03:00
Fabio B. Silva
2b403b7dad
basic support refactory
2012-09-29 16:18:58 -03:00
Fabio B. Silva
0e60c50c5e
small code refactoring
2012-09-29 16:18:56 -03:00
Fabio B. Silva
0c1a8cd43f
sql generation
2012-09-29 16:18:56 -03:00
Fabio B. Silva
ee7b5da64a
start work
2012-09-29 16:18:56 -03:00
Kirill chEbba Chebunin
a162f00ecc
Remove builders from QueryExpressionVisitorTest constructor
2012-08-29 15:48:04 +04:00
Kirill chEbba Chebunin
1c2f2b5c13
Store QueryExpressionVisitor parameters as array
2012-08-20 20:28:22 +04:00
Kirill chEbba Chebunin
c6b3899c2d
Add QueryBuilder::addCriteria() for Criteria - QueryBuilder bridge
2012-08-20 20:27:03 +04:00
FabioBatSilva
641af15280
Fix DDC-1977
2012-08-15 22:57:21 +02:00
Fabio B. Silva
b6b35d9482
test quote join variable
2012-06-18 14:43:00 -03:00
Fabio B. Silva
f335f23145
tests for quoted columns metadata
2012-06-18 14:42:56 -03:00
Fabio B. Silva
d49a968d55
tests for DDC-1719
2012-06-18 14:42:53 -03:00
Guilherme Blanco
41a650b699
Updated PoC for multiple components DQL support.
2012-06-18 17:01:52 +02:00
Alexander
e7dfa08756
[PoC] Arbitrary join support
2012-06-18 17:00:37 +02:00
Guilherme Blanco
1635e0af4b
[DDC-1840] Implemented parameters as a collection.
2012-05-28 12:16:42 -04:00
Martin Hasoň
3d852397db
DDC-1802 removed unnecessary tokens T_SIZE and T_MOD
2012-05-02 19:10:21 +02:00
Martin Hasoň
3ab6ad23ad
DDC-1802 fixed parsing: FunctionDeclaration "NOT" ("LIKE" | "IN" | "BETWEEN")
2012-05-02 19:08:27 +02:00
Guilherme Blanco
2811d161bb
Merge pull request #309 from FabioBatSilva/DDC-1686
...
Fix DDC-1686
2012-03-25 21:33:43 -07:00
Fabio B. Silva
0f9afbdf0a
Fix DDC-1686
2012-03-25 00:30:58 -03:00
Fabio B. Silva
df8626b949
Fix DDC-1697
2012-03-24 22:50:54 -03:00
Benjamin Eberlei
7d7edbbd4a
Merge pull request #288 from FabioBatSilva/DDC-775
...
DDC 775
2012-03-22 14:00:48 -07:00
Benjamin Eberlei
18f1d56b60
[DDC-1683] Fix bug with booleans not handled by Expr#literal() in query builder.
2012-03-14 20:49:25 +01:00
Fabio B. Silva
e46275e80d
remove case expressions and functions support
2012-03-12 20:26:40 -03:00
Fabio B. Silva
797c9cf70e
supports simple math operator
2012-03-12 20:26:39 -03:00
Fabio B. Silva
df0632258a
Order by clause support case expressions
2012-03-12 20:26:38 -03:00
Fabio B. Silva
ce9643bce1
Order by clause support functions
2012-03-12 20:26:38 -03:00
Guilherme Blanco
7954386705
DDC-1696 Allowed Strings to be used inside of Case expressions. It seems this fixes other misterious use cases not yet identified by us.
2012-03-11 21:14:08 -04:00
Benjamin Eberlei
79d9c07652
[DDC-1693] Fix fatal errors in DQL when using Optimistic or None lock modes. Added tests.
2012-03-11 22:29:20 +01:00
Benjamin Eberlei
1bbd52b8ee
[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
Thomas Rabaix
d9bb861b1f
Fix DDC-1618 - add more check before throwing an iterateWithFetchJoinNotAllowed exception
2012-01-25 00:03:40 +01:00