Mikhail Shamin
bf322b903d
Optimize imports. Remove full qualified class names
2016-05-11 01:55:12 +07:00
Bill Schaller
55d4f515af
Fix issue were identifier operands in /,* arithmetic terms were not checked to see if they're query components
2016-01-08 12:53:05 -05:00
oprokidnev
e390dbd5ba
Target entity resolver for DQL
...
Since we have target entity resolver in doctrine this class check is not enought.
To gain interface resolution it is better to add interface check in addition to class_check here.
2015-12-11 21:33:59 +01:00
Jeroen Thora
6dcb97a20e
Fixed many small phpcs issues
2015-12-11 20:30:41 +01:00
Guilherme Blanco
9f93999758
Merge pull request #1487 from xxccdef/DDC-3864
...
[DDC-3864] Support any ordering of fields in partial object query with embeddable
2015-11-15 22:03:25 -05:00
Guilherme Blanco
443259f629
Some extra refinement over patch
2015-11-09 03:19:11 +00:00
Matthias Pigulla
b7bd42638d
Fix for DDC-3697 and DDC-3701
...
Also fix Lexer::match() so it does not accept T_WHERE when T_WITH is supposed to be matched. (DDC-3701)
2015-11-09 03:19:11 +00:00
Alex Vasilenko
c8d2ac40f4
fixes result cache setting query caching
2015-11-07 16:14:54 +00:00
Guilherme Blanco
d7a3154954
Merge pull request #1397 from giosh94mhz/concat_expr_variable_arguments
...
Add Expr::concat support for multiple arguments
2015-11-07 10:45:04 -05:00
Guilherme Blanco
d88cf97bef
Merge pull request #1507 from deguif/fix-wrong-property
...
Fixed wrong property name
2015-11-07 10:09:06 -05:00
Guilherme Blanco
843966ac50
General fixes across CS, type resolving, test fixes, etc
2015-11-07 03:55:05 +00:00
aleeeftw
5481e0fb8b
Minor docblock correction
...
The documentation for the method ‘addJoinedEntityFromClassMetadata’ is
wrong. As we can see currently says you need to pass an object and that
is wrong. The $relation variable is passed to ‘addJoinedEntityResult’
which is using it as a ‘string’.
2015-11-01 10:43:03 +00:00
Angel Fernando Quiroz Campos
47441666df
Update Expr.php
2015-10-20 16:55:43 -05:00
François-Xavier de Guillebon
4b7d8511f8
Fixed wrong variable used as array key
2015-09-14 18:34:55 +02:00
François-Xavier de Guillebon
a18ff95fc4
Fixed wrong property name
2015-09-11 17:17:28 +02:00
Giorgio Premi
16172534bb
Add Expr::concat support for multiple arguments
2015-09-10 17:01:09 +02:00
Issei.M
df461601f7
removed useless line breaks
2015-09-03 17:55:14 +09:00
Egidijus Jucevičius
d4d9a2ba3c
Support any ordering of fields in partial object query with embeddable [DDC-3864]
2015-08-04 10:56:50 +03:00
Andy Cook
26c295b06b
Added non-functional tests for row number over function subselect expression fix; syntax fixes.
2015-07-17 13:24:19 +01:00
Andy Cook
61488d955e
Fixed issue when paginator orders by a subselect expression on platforms supporting ROW_NUMBER OVER() function.
2015-07-16 11:20:22 +01:00
Marco Pivetta
3bc3aeeb52
Minor docblock correction (discovered during testing)
2015-04-02 23:43:41 +01:00
Marco Pivetta
9a2afd1a9a
#1350 - parameters
should be an array
by default
2015-03-31 22:02:48 +01:00
mmoreram
f6a1ea4859
Assigned default value to array
...
* For strict configurations of PHP, we were accessing to a non-array element
2015-03-31 22:02:05 +01:00
Marco Pivetta
cf1ecffb14
Merge pull request #1339 from BenMorel/dqlcustomtype
...
[DDC-2224] Honor convertToDatabaseValueSQL() in DQL query parameters
2015-03-25 01:27:05 +00:00
Marco Pivetta
70c8591bbe
Merge pull request #1343 from karlrixon/master
...
Support embeddables in partial object query expression [DDC-3621]
2015-03-23 23:43:36 +00:00
Benjamin Morel
517cb7e2a2
Honor convertToDatabaseValueSQL() in DQL query parameters
2015-03-18 00:24:41 +01:00
Jan Langer
8ac66bb608
Allow DateTimeInterface as parameter value
2015-03-17 20:58:20 +00:00
Karl Rixon
778ed04eac
Support embeddables in partial object query expression [DDC-3621]
2015-03-17 15:46:01 +00:00
Jeroen Thora
a409e7591d
Changed some wrong usage of the @internal phpdoc
2015-03-15 16:53:34 +01:00
FabioBatSilva
57bcd7cd3d
DATE_ADD - Support for seconds
2015-02-25 14:32:51 -05:00
Kiel Goodman
0c5ea34fd4
[DDC-3436] Fix changes requested 2/2
2015-01-17 08:33:23 +01:00
Kiel Goodman
dc98da585d
[DDC-3436] Fix changes requested 1/2
2015-01-17 08:33:23 +01:00
Kiel Goodman
918d2910d9
[DDC-3108] Fix regression introduced in DDC-2764 where join aliases were no longer accessible in Criteria expressions
2015-01-17 08:33:23 +01:00
Marco Pivetta
6fc0d84b7a
DDC-3427 - s/EntityManager/EntityManagerInterface in type-hints
2015-01-16 14:21:30 +01:00
Marco Pivetta
9c3cb57931
Merge branch 'optimize-persisters'
...
Close #1246
2015-01-13 15:05:45 +01:00
Marco Pivetta
17a865ec7f
#1246 DDC-3487 - correcting docblock (static introspection fix)
2015-01-13 14:39:05 +01:00
Guilherme Blanco
de4723883f
Merge pull request #1171 from jaimz22/master
...
Improvements for complex select statements when using new object expression
2015-01-12 22:48:56 -05:00
Vladislav Veselinov
79bf84e1ad
revert typehint change
2015-01-13 02:05:49 +01:00
Vladislav Veselinov
9cb17d2915
EntityManagerInterface instead of EntityManager
...
Make connection available in filters
Add test for the changes
2015-01-13 02:05:49 +01:00
James Murray
d9cbe1a8b7
removed unnecessary fieldIdentificationVariable property check
2014-12-19 14:10:47 -05:00
James Murray
85eac7200d
Adding the ability to alias new object expressions
2014-10-28 17:34:57 -04:00
Marco Pivetta
b989175754
#615 - Removing unused assignment
2014-10-19 17:24:07 +02:00
Marco Pivetta
a4e9c235f8
#615 - assignment alignment
2014-10-19 17:08:33 +02:00
Mike Meier
fb5f76f025
rewrite tablePrefixAlias
2014-10-19 17:05:34 +02:00
Mike Meier
ebc996c820
Update SqlWalker.php
...
Always be sure that only a-z characters are used for table alias, otherwise use generic "t" for "table"
2014-10-19 17:05:34 +02:00
Marco Pivetta
45d74e7220
DDC-3276 - #1122 - updating EBNF in docblock to reflect new syntax support
2014-08-27 02:12:08 +02:00
Marco Pivetta
097840dc93
Allowing expression in COUNT()
DQL aggregation functions
2014-08-27 01:56:11 +02:00
Vincent Composieux
edc2ed9512
Fix QueryException::instanceOfUnrelatedClass() message
2014-08-15 15:39:56 +02:00
Rhodri Pugh
ad10a18071
added more informative error messages when invalid parameter count
2014-07-15 13:17:22 +01:00
Marco Pivetta
b80149344d
Merge pull request #1073 from kamazee/add_passing_type_to_rsm_in_sql_walker
...
Add missing type mapping
2014-07-14 10:51:13 +02:00