1
0
mirror of synced 2025-02-03 13:59:27 +03:00

33 Commits

Author SHA1 Message Date
Luís Cobucci
fda6fdd9fb
Use "::class" syntax on "tests" directory 2016-12-08 18:13:39 +01:00
Luís Cobucci
74c8a08828
Use short-array syntax on "tests" directory 2016-12-07 23:33:41 +01:00
Jefersson Nathan
dbe843fc4b
remove license from header of test files 2016-10-26 13:24:33 -03:00
Mikhail Shamin
b173763bbb Remove full qualified class names in tests 2016-05-11 03:00:44 +07:00
Mikhail Shamin
bf322b903d Optimize imports. Remove full qualified class names 2016-05-11 01:55:12 +07:00
Guilherme Blanco
cdfcca2ff2 Merge pull request #1455 from xoeoro/patch-1
Update ExprTest.php
2015-11-15 22:12:36 -05:00
Giorgio Premi
16172534bb Add Expr::concat support for multiple arguments 2015-09-10 17:01:09 +02:00
xoeoro
44557a5afa Update ExprTest.php
expr()->countDistinct allows to create COUNT(DISTINCT) expression with mulltiple fields but parser requires only one field.

\Doctrine\ORM\Query\Parser::AggregateExpression

some body, please, fix this problem
2015-07-13 10:45:17 +03:00
Giorgio Premi
6cb3fa8fb7 Removed all useless occurrence of require_once TestInit.php 2014-04-07 14:43:25 +02:00
Menno Holtkamp
400f420925 Added MEMBER OF and INSTANCE OF helpers to ExpressionBuilder 2014-03-19 13:00:45 +01:00
Jean-Guilhem Rouel
8b8d1a5aaa Don't add empty expression to another one 2013-03-12 19:17:11 +01:00
Martin Hasoň
7f33143502 Added NOT LIKE expression 2012-10-25 12:58:19 +02:00
Fabio B. Silva
0f9afbdf0a Fix DDC-1686 2012-03-25 00:30:58 -03: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
Guilherme Blanco
b025b2b343 Fixed where componentes (ie. MEMBER OF) that that are sensitive to parenthesis presence. Made OR and AND expressions smarter. Fixed related unit tests. 2011-05-07 20:14:04 -03:00
Guilherme Blanco
834203d868 [DDC-1012] Implemented Expr isNull and isNotNull. 2011-02-20 01:53:55 -03:00
beberlei
6ba4fa002b DDC-660 - Fix notIn() not quoting passed literals correctly. 2010-07-01 21:42:38 +02:00
Jonathan H. Wage
f54dce93aa Fixing failing test introduced in last commit. 2010-05-25 18:22:42 -04:00
David Abdemoulaie
ece0e3ad88 Third parameter to Expr::substring is now optional 2010-05-25 15:11:35 -05:00
David Abdemoulaie
b6a5402bcb Query\Expr::_quoteLiteral properly quotes numeric strings 2010-05-25 13:41:02 -05:00
beberlei
24d8e94280 [2.0] DDC-478 - Fix QueryBuilder Expr\Between Support 2010-03-28 10:30:43 +00:00
guilhermeblanco
c7dff99bbe [2.0] Fixed ExprTest that was failing due to one of my previous commits. 2010-03-01 20:17:08 +00:00
romanb
4adc289596 [2.0][DDC-284] Fixed. API polish and some convention over configuration simplifications for join columns and join tables. 2010-02-09 17:13:49 +00:00
guilhermeblanco
0a7727e16a [2.0][DDC-234] Make sure is defined in QueryBuilder Expressions. 2010-01-04 16:37:39 +00:00
jwage
d10daf35f2 [2.0] Changing Expr static methods to be normal public methods (closes #2466) 2009-09-08 22:19:03 +00:00
guilhermeblanco
842267c11c [2.0] Refactored pieces of QueryBuilder, it does not use string concatenation anymore. Splitted from into from and join, allowing update and delete DQLs to be correctly built. Added missing entry set. Removed Expr\Having because it was useless. Updated docs. 2009-08-20 02:59:42 +00:00
guilhermeblanco
cf77048ee4 [2.0] Fixed issue with functions accepting subqueries. Implemented missing Expr\Join class. Added Expr::*join helper functions. 2009-08-14 22:50:36 +00:00
guilhermeblanco
b0202f2921 [2.0] Fixed issue with missing parenthesis in Math expressions 2009-08-14 21:03:27 +00:00
guilhermeblanco
c81affb9f7 [2.0] Some fixes in Expr. More documentation added. 2009-08-14 20:46:43 +00:00
jwage
f608dd8a72 [2.0] More work on the QueryBuilder and Expr classes. 2009-07-10 17:53:48 +00:00
jwage
312d347d2d [2.0] More work on the QueryBuilder and Expr classes 2009-07-10 14:02:06 +00:00
jwage
a9ed0085d2 [2.0] More work on the QueryBuilder and Expr classes 2009-07-09 21:56:34 +00:00
jwage
867a34d41b [2.0] Initial commit of a QueryBuilder class. Still needs a lot of work. 2009-07-09 04:18:58 +00:00