Luís Cobucci
b8fd708139
Fix parameter name comparison in QueryBuilder#setParameter() with different types
2017-11-24 02:43:01 +01:00
Dariusz Ruminski
c7d6d62393
Use newer PHP syntax
2017-09-06 01:32:49 +02:00
Michael Gwynne
fd9f96c766
Updating _maxResults to allow for null
2017-09-04 09:26:11 +01:00
Franck Magnan
db528a44b1
Update QueryBuilder.php
...
Hello,
thank you very much for your work, it's awesome!
I found a minor error in PHPDOC for method setParameter. Argument "type" can be a string or null but can be also an int if it comes from \PDO::PARAM_*. So I've changed typehint "string" into "mixed".
2017-05-23 18:42:01 +02:00
Luís Cobucci
234989d069
Use short-array syntax on "lib" directory
2016-12-08 00:31:12 +01:00
Vladimir Reznichenko
0bf3d7f84c
Static Code Analysis with Php Inspections (EA Extended)
2016-11-06 14:22:47 +01:00
Christopher Anciaux
76badc296a
Fix typo in PHPDoc block of QueryBuilder.php
2016-06-20 14:20:36 +02:00
Marco Pivetta
00718f6bf7
#1496 s/$this/self
2015-12-11 18:27:19 +01:00
Damien Gavard
15aafaa11d
Use @return $this instead of return explicitly QueryBuilder
2015-12-11 18:22:26 +01:00
Damien Gavard
8d62aadf55
Fix invalid return type in docblock
2015-12-11 18:22:26 +01:00
montaniasystemab
b48fca543c
Fixed typo in QueryBuilder->where() docblock
2015-11-26 10:01:29 +01:00
Guilherme Blanco
50ee47cc70
Merge pull request #1492 from nicolas-grekas/doc-fix
...
Fix misleading docblock example
2015-11-15 22:19:27 -05:00
Benjamin Morel
7d4016a757
Documentation and case fixes in QueryBuilder
2015-10-01 20:04:16 +02:00
Nicolas Grekas
df820a5695
Fix misleading docblock example
2015-08-14 14:35:25 +02:00
longkey1
a3b1f85fd4
typo
2015-07-30 13:16:55 +09:00
Marco Pivetta
4daf383e4f
Merge pull request #1303 from mrkrstphr/querybuilder-get-all-aliases
...
make QueryBuilder::getAllAliases public
2015-03-17 23:33:43 +00:00
Guilherme Blanco
5ab4c3d50c
Added programatical support to define indexBy on root aliases.
2015-02-25 14:29:10 -05:00
Kristopher Wilson
a6448f5c77
make QueryBuilder::getAllAliases public
2015-02-16 08:31:14 -05:00
Dries De Peuter
4a6afb46e2
Fix join when recreation of query from parts.
2015-02-16 01:23:27 +00: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
Alex Bakhturin
b33c9befb7
[QueryBuilder] Remove unused method parameters that are shadowed by local variables
...
PHP5 treats the left part of such assignment as an independent local variable, while HHVM treats it as a reference to the method parameter. This leads to the value of the parameter being changed, which, in turn, causes func_get_args() to return not what is expected.
This commit is a part of the effort to make Symfony run flawlessly on HHVM. This issue causes a bunch of Symfony tests to fail on HHVM.
2014-10-17 11:17:33 -07:00
Benjamin Morel
b3ec4df8ce
Fixed wrongly initialized property.
2014-04-04 20:05:16 +00:00
fabios
6e64cc101a
[SLC] Add query builder options
2014-03-03 15:28:35 -05:00
Benjamin Eberlei
c8c7cf0528
Fix tests after merge of QueryBuilder#addCriteria changes.
2014-01-03 21:28:06 +01:00
Piotr Antosik
eb45690e10
Fix typos - QueryBuilder
2014-01-03 17:28:42 +01:00
Sander Marechal
35a62e9a05
Add rootAlias to Criteria where clauses
2013-11-01 13:43:03 +01:00
Sander Marechal
202039e853
Set rootAlias outside loop
2013-11-01 13:19:33 +01:00
Sander Marechal
b6f8d53ff1
[DDC-2764] Prefix criteria orderBy with rootAlias
2013-10-29 11:11:46 +01:00
javer
64a0161935
HHVM compatibility: func_get_args
...
All func_get_args() calls have been moved to the top of the methods
because HHVM doesn't keep a copy of the original args for performance
reasons.
See facebook/hiphop-php#1027 for details.
2013-09-15 20:57:30 +03:00
Alexander
1a163cd48d
[DDC-2019] Add support for expression in QueryBuilder#addOrderBy()
2013-02-09 22:40:34 +01:00
Benjamin Morel
4b58c6fc41
Removed an unused local variable.
2013-02-03 01:05:43 +00:00
Jakub Vrana
819e5896bf
Fix error in QueryBuilder example
2013-01-30 11:11:09 -08:00
Benjamin Eberlei
4210969087
DDC-2192 - Prevent using append flag in case of where and having to avoid user confusion, because this is not allowed.
2013-01-06 10:33:57 +01:00
Benjamin Morel
7869ec714d
Fixed unused 'use' statements.
...
Fixed missed documentation issues in Doctrine\ORM
2012-12-13 18:19:21 +00:00
Benjamin Morel
dacdd6cd89
Documentation (docblock) fixes.
2012-12-01 16:28:06 +00:00
Julien 'ruian' Galenski
055d7f261c
CS on queryBuilder
2012-11-12 10:23:50 +01:00
Kirill chEbba Chebunin
433d208572
Remove extra space from QueryBuilder::addCriteria()
2012-08-20 20:27:55 +04:00
Kirill chEbba Chebunin
d3ab948d88
Overwrite query limits only if set in QueryBuilder::addCriteria()
2012-08-20 20:27:30 +04:00
Kirill chEbba Chebunin
c6b3899c2d
Add QueryBuilder::addCriteria() for Criteria - QueryBuilder bridge
2012-08-20 20:27:03 +04:00
Marco Pivetta
fb3c6f0e8f
DDC-1933 - Fixing cloning of QueryBuilder and adding related tests
2012-07-21 20:34:20 +02:00
Guilherme Blanco
6521e51170
Added missing BC compatibility in QueryBuilder.
2012-05-29 14:52:30 -04:00
Guilherme Blanco
1635e0af4b
[DDC-1840] Implemented parameters as a collection.
2012-05-28 12:16:42 -04:00
Benjamin Eberlei
70458b2f48
LGPL => MIT
2012-05-26 14:37:00 +02:00
Aigars Gedroics
3ddc461d30
[DDC-1757] Fix moved to private method, test improved.
2012-04-20 16:06:21 +03:00
gedrox
29a94f4f52
Parameter PHP documentation for the QueryBuilder::getRootAlias() method
2012-04-20 16:06:21 +03:00
Aigars Gedroics
a1ab3e8cf4
DDC-1757 test and patched query builder
2012-04-20 16:06:21 +03:00
Benjamin Eberlei
ab15528fde
Fix CS: AS => as in foreach loops.
2012-03-24 11:16:32 +01:00
Guilherme Blanco
44d7d23e8d
Coding style fixes.
2012-03-15 01:26:06 -04:00