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
|
0a78f7bc11
|
[DDC-1695] Fix bug in SQL Walker array hydration with escaped fields.
|
2012-03-11 23:27:51 +01: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 |
|
Guilherme Blanco
|
1a192b6530
|
Moved SQRT function to Platform.
|
2012-03-03 23:10:56 -05: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
|
8027fca378
|
Add SqlWalker::HINT_DISTINCT constant
|
2012-01-25 00:03:40 +01:00 |
|
Thomas Rabaix
|
d9bb861b1f
|
Fix DDC-1618 - add more check before throwing an iterateWithFetchJoinNotAllowed exception
|
2012-01-25 00:03:40 +01:00 |
|
Guilherme Blanco
|
fdb2b9c655
|
Optimized scalar type mapping support.
|
2012-01-16 14:26:13 -05:00 |
|
Guilherme Blanco
|
ea14bcff4a
|
Fixed DDC-657. Added type conversion to scalar result.
|
2012-01-13 20:46:59 -05:00 |
|
Guilherme Blanco
|
9f3967d65d
|
Merge pull request #245 from milokmet/DDC-1572
[DDC-1572] Allow LIKE pattern to be a function or path expression
|
2011-12-30 20:17:38 -08:00 |
|
Fabio B. Silva
|
ab4482b617
|
update docblock
|
2011-12-29 17:05:44 -02:00 |
|
Miloslav Kmet
|
ae4321b4e3
|
[DDC-1572] Allow LIKE pattern to be a function or path expression
|
2011-12-29 19:51:48 +01:00 |
|
Fabio B. Silva
|
4cc61bf2ee
|
fix DDC-1557
|
2011-12-29 14:30:29 -02:00 |
|
Adrien BRAULT
|
da0a6fc619
|
Fix some PHPDoc @return type.
|
2011-12-23 17:05:08 +01:00 |
|
Fabio B. Silva
|
e45ebbac46
|
remove white spaces
|
2011-12-20 10:40:29 -02:00 |
|
Fabio B. Silva
|
24dc74a800
|
Fixed DDC-1539
|
2011-12-20 10:31:00 -02:00 |
|
Benjamin Eberlei
|
cd6131c9b8
|
Remove all trailing whitespaces
|
2011-12-19 22:56:19 +01:00 |
|
Fabio B. Silva
|
5c89d7ffcb
|
support for bit comparison
|
2011-12-19 16:24:16 -02:00 |
|
Benjamin Eberlei
|
b1b10042d2
|
Revert "Fixed issue with fetched association not being considered during changeSet calculation. Fixes DDC-1545."
This reverts commit a8478d5766 .
|
2011-12-19 16:31:26 +01:00 |
|
Benjamin Eberlei
|
7f8f39168a
|
Merge pull request #227 from asm89/ddc-551-parameter-inference
[DDC-551] Add type inference to SQLFilter::setParameter() + cleaned tests
|
2011-12-19 00:47:58 -08:00 |
|
Alexander
|
bd07f8d3dd
|
[DDC-551] Add type inference to SQLFilter::setParameter() + cleaned tests
|
2011-12-19 08:43:42 +01:00 |
|
Guilherme Blanco
|
a8478d5766
|
Fixed issue with fetched association not being considered during changeSet calculation. Fixes DDC-1545.
|
2011-12-19 01:39:48 -05:00 |
|
Benjamin Eberlei
|
003d1410b0
|
Merge pull request #224 from doctrine/DDC-551
DDC-551 - Filter branch
|
2011-12-18 08:03:23 -08:00 |
|
Andrew Mackrodt
|
ef12a09ae0
|
Added remaining absolute namespace paths to phpdoc annotations - issue DDC-1025.
|
2011-12-11 21:56:27 +00:00 |
|
Andrew Mackrodt
|
2fdb55a878
|
Added absolute namespace paths to phpdoc annotations - issue DDC-1025.
|
2011-12-11 21:56:26 +00:00 |
|
Benjamin Eberlei
|
b6d776f75d
|
DDC-551 - rework walker filtering
|
2011-12-11 21:14:09 +01:00 |
|
Benjamin Eberlei
|
ad6130b02d
|
DDC-551 - Cleanup filters branch, especially inheritance related code and yoda conditions and some inconsistencies
|
2011-12-11 19:29:36 +01:00 |
|
Benjamin Eberlei
|
0f501114eb
|
Merge branch 'master' into DDC-551
|
2011-12-11 18:39:11 +01:00 |
|
Fabio B. Silva
|
8e50a31b98
|
trying remove whitespaces
|
2011-12-07 12:31:23 -02:00 |
|
Fabio B. Silva
|
c6a89c64f3
|
put return after comment
|
2011-12-07 12:16:27 -02:00 |
|
Fabio B. Silva
|
df19e68a86
|
Fixed DDC-1057
|
2011-12-07 11:23:15 -02:00 |
|
Alexander
|
5e91f0c1ca
|
[DDC-551] Update SQLWalker to reflect filter requirements for inheritance
|
2011-12-07 10:02:15 +01:00 |
|
Alexander
|
efe7a01482
|
[DDC-551] Fixed CS, comments by @stof
|
2011-12-05 23:00:52 +01:00 |
|
Alexander
|
f4663f4512
|
[DDC-551] Another batch of small refactorings
|
2011-12-05 22:19:54 +01:00 |
|
Alexander
|
e8d30068e2
|
[DDC-551] Various refactorings
|
2011-12-05 22:05:42 +01:00 |
|
Alexander
|
04635ad4ff
|
Merge remote-tracking branch 'upstream/master' into DDC-551
Conflicts:
lib/Doctrine/ORM/Persisters/ManyToManyPersister.php
lib/Doctrine/ORM/Persisters/OneToManyPersister.php
|
2011-12-05 21:53:34 +01:00 |
|
Alexander
|
3b7d16c60f
|
[DDC-551] General cleanup of the code.
|
2011-12-05 21:14:31 +01:00 |
|
Alexander
|
e98c775f0d
|
Revert "[DDC-551] Initial support for filters in the JoinedSubclassPersister"
This reverts commit f6d5f0481e .
|
2011-12-05 16:14:04 +01:00 |
|
Guilherme Blanco
|
0380d5ae58
|
Implemented multiple enhancements in InExpression support for DQL. Fixed DDC-1472 and DDC-1416.
|
2011-12-04 02:41:54 -05:00 |
|
Guilherme Blanco
|
2f6b930a8d
|
Implemented missing support in CollectionMemberComparison. Removed old todo in ArrayHydrator. Finished implementation of IdentificationVariable in ArithmeticPrimary.
|
2011-12-03 15:19:21 -05:00 |
|
Guilherme Blanco
|
2642daa438
|
Fixed DDC-1236: GROUP BY now supports ResultVariable and IdentificationVariable. Composite PK is also supported. If you are willing to group by an aggregate function or a function itself, just place it in SELECT expression then refer to it in the GROUP BY clause. If you are not willing to have the function being part of your resultset, just mark the column as HIDDEN and you are done.
|
2011-12-01 23:52:35 -05:00 |
|
Alexander
|
bf1cc29a2a
|
[DDC-551] Fixed some comments
|
2011-12-01 09:46:02 +01:00 |
|
Alexander
|
f6d5f0481e
|
[DDC-551] Initial support for filters in the JoinedSubclassPersister
Still some things to do.
|
2011-11-30 23:01:10 +01:00 |
|
Alexander
|
4c94a7ccc5
|
[DDC-551] Various minor fixes after merge and cleanup
|
2011-11-30 16:40:55 +01:00 |
|
Guilherme Blanco
|
5b73f1bd82
|
Improved code readability. Improved performance.
|
2011-11-30 09:57:54 -05:00 |
|
Alexander
|
be48821e86
|
Merge remote-tracking branch 'origin/master' into DDC-551
Conflicts:
lib/Doctrine/ORM/Persisters/BasicEntityPersister.php
lib/Doctrine/ORM/Query.php
|
2011-11-23 22:43:42 +01:00 |
|
Benjamin Eberlei
|
be4eb63c62
|
Merge branch 'DBAL-15'
|
2011-11-21 21:38:05 +01:00 |
|
jsor
|
16aa558292
|
Remove sql conversion from where clauses and update statements
|
2011-11-21 15:08:36 +01:00 |
|
Jan Sorgalla
|
841d12e9b6
|
Move check for conversion SQL to ClassMetadataInfo
|
2011-11-20 19:50:51 +01:00 |
|
Jan Sorgalla
|
6f35679911
|
Initial implementation of Doctrine\DBAL\Types\Type::convertToDatabaseValueSQL() and Doctrine\DBAL\Types\Type::convertToPHPValueSQL() integration
|
2011-11-19 00:35:29 +01:00 |
|
Benjamin Eberlei
|
9e8a950f2e
|
DBAL-171 - Fix bug where params where resorted but types where not in DQL Query
|
2011-11-18 17:29:31 +01:00 |
|
Fabio B. Silva
|
aeb2ab132b
|
group by all fields when entity has foreign keys
|
2011-11-15 20:27:45 -02:00 |
|
Benjamin Eberlei
|
2d14be86f3
|
Merge pull request #192 from FabioBatSilva/DDC-1474
DDC-1474
|
2011-11-15 12:10:19 -08:00 |
|
Benjamin Eberlei
|
9916f34262
|
Merge pull request #191 from FabioBatSilva/DDC1430
DDC-1430
|
2011-11-15 11:07:30 -08:00 |
|
Fabio B. Silva
|
3f8347a4d9
|
fixed DDC-1474
|
2011-11-15 17:00:19 -02:00 |
|
Guilherme Blanco
|
14f20c16bc
|
Changed the RSM to make is behavior as mixed if you alias an entity.
|
2011-11-15 15:14:57 -02:00 |
|
Fabio B. Silva
|
3dd5d14977
|
Fixed DDC-1430
|
2011-11-15 14:28:57 -02:00 |
|
Guilherme Blanco
|
45d95ad130
|
Fixed wrong indentation by my previous commit.
|
2011-11-15 01:09:48 -02:00 |
|
Guilherme Blanco
|
81cc6d9da8
|
Implemented alias support for EntityResult. This addresses DDC-1096 and DDC-1424. Improved DQL Parser, SQL Walker and Hydrators in general. Performance is generally improved by a factor of 20%. There is still more to be done, like remove the isMixed in ResultSetMapping, mainly because this query - SELECT u AS user FROM User u -, it should return an array('user' => [User object]), while currently it doesn't due to this before mentioned 'bug' in RSM. Will open a separate ticket for this. Also, UnitOfWork and Hydrators share code that could be abstracted/improved.
|
2011-11-14 01:36:39 -02:00 |
|
Benjamin Eberlei
|
a14ba1e561
|
DDC-1237 - Remove dependency to mbstring
|
2011-11-12 09:43:37 +01:00 |
|
Alexander
|
39ed719c4c
|
Remove invalid(?) exception for now
|
2011-11-08 13:16:33 +01:00 |
|
Guilherme Blanco
|
305da5b8ff
|
Added missing indexBy.
|
2011-11-03 02:49:50 -02:00 |
|
Guilherme Blanco
|
3c31d88810
|
Major optimizations in SqlWalker code, reducing overhead, reducing lookahead checks.
|
2011-11-03 02:44:50 -02:00 |
|
Alexander
|
53055f1fb2
|
[DDC-551] Fixed a bug in the sql generation for filters
|
2011-11-02 15:15:22 +01:00 |
|
Benjamin Eberlei
|
c38d273c1f
|
Merge pull request #151 from doctrine/DDC-1385
DDC-1385
|
2011-10-31 15:10:54 -07:00 |
|
Guilherme Blanco
|
d444f0e06b
|
Micro optimization in SqlWalker.
|
2011-10-30 16:22:45 -02:00 |
|
Benjamin Eberlei
|
64d405f7dd
|
Merge origin/master into DDC-1384
|
2011-10-30 12:12:18 +01:00 |
|
Benjamin Eberlei
|
50e028212d
|
DDC-1384 - Fix a bunch of Oracle test failures
|
2011-10-29 20:42:44 +02:00 |
|
Guilherme Blanco
|
0ec2cc557f
|
Implemented support to entities with association marked as @Id support in many situations. Fixed DDC-1435.
|
2011-10-29 02:00:35 -02:00 |
|
Guilherme Blanco
|
3745e948c6
|
Made SimpleSelectExpression (Literal) be included as a scalar result. More general SQL Walker optimizations.
|
2011-10-28 14:25:12 -02:00 |
|
Guilherme Blanco
|
1f06e9fca5
|
Fixed issue with SimpleSelectExpression containing Literals. This issue is related to a previously fixed ticket DDC-1079.
|
2011-10-28 12:56:14 -02:00 |
|
Benjamin Eberlei
|
8db1a09001
|
Merge branch 'master' of github.com:doctrine/doctrine2
|
2011-10-28 00:26:54 +02:00 |
|
Benjamin Eberlei
|
4a0227e5f2
|
Revert Expr\Base patch
|
2011-10-28 00:24:41 +02:00 |
|
Benjamin Eberlei
|
5918058d86
|
Merge origin/master
|
2011-10-27 22:36:06 +02:00 |
|
Benjamin Eberlei
|
adc4840cce
|
DDC-217 - Add support for QueryCacheProfiles and remove the old result caching code from ORM. Deprecate a bunch of methods in favor of using the AbstractQuery#getQueryCacheProfile method.
|
2011-10-23 23:28:23 +02:00 |
|
Alexander
|
079e2b1302
|
[DDC-1384] Fix for generating sql with aliases not longer than MaxIdentifierLength
|
2011-10-22 16:27:56 +02:00 |
|
armetiz
|
baef4f735f
|
Update lib/Doctrine/ORM/Query/Expr/Base.php
|
2011-10-21 16:30:06 +03:00 |
|
Alexander
|
07ce4092cd
|
Merge branch 'master' into DDC-551
|
2011-10-21 12:04:29 +02:00 |
|
armetiz
|
4a50eb4fa7
|
Update lib/Doctrine/ORM/Query/Expr.php
|
2011-10-21 11:55:54 +03:00 |
|
Benjamin Eberlei
|
8466060797
|
DDC-1385 - Add INDEX BY scalar variables on the top-level
|
2011-10-16 19:23:20 +02:00 |
|
Guilherme Blanco
|
eeba947ea7
|
Code optimizations. Fixed unused argument in OrmTestCase as referred in DDC-766.
|
2011-10-16 02:10:59 -02:00 |
|
Benjamin Eberlei
|
18fd29613c
|
Merge pull request #137 from docteurklein/fluent_query_expr
added fluent pattern to Query\Expr\Base::add* methods
|
2011-10-15 11:09:37 -07:00 |
|
Guilherme Blanco
|
772b413579
|
Fixed bug with boolean values being converted to string.
|
2011-10-15 00:23:55 -03:00 |
|
Alexander
|
097d573d26
|
Merge branch 'master' into DDC-551
Conflicts:
lib/Doctrine/ORM/Configuration.php
lib/Doctrine/ORM/Persisters/BasicEntityPersister.php
lib/Doctrine/ORM/Persisters/ManyToManyPersister.php
|
2011-10-14 12:33:39 +02:00 |
|
Christian Raue
|
1681d8a893
|
switched 2nd and 3rd argument for SelectExpression's constructor, making the 3rd one optional to keep its signature compatible to previous versions
|
2011-10-10 14:04:55 +02:00 |
|
Guilherme Blanco
|
ebe933810e
|
Implemented HIDDEN support in DQL. Fixes DDC-1363.
|
2011-10-03 02:07:07 -03:00 |
|
docteurklein
|
b28af2e527
|
added fluent pattern to Query\Expr\Base::add* methods
|
2011-09-27 10:36:32 +02:00 |
|
Guilherme Blanco
|
80284a273d
|
Merge pull request #133 from FabioBatSilva/DDC-1335
Fixes DDC-1335.
Patch looks perfect to me. @beberlei please merge into 2.1 =)
|
2011-09-25 14:52:56 -07:00 |
|
Benjamin Eberlei
|
d2cd6560c5
|
DDC-1337 - Adjust MultiTableUpdateExecutor and MultiTableDeleteExecutor to use AbstractPlatform
|
2011-09-25 19:01:37 +02:00 |
|
Fabio B. Silva
|
5fe996baf9
|
change tests for DDC-1135
|
2011-09-25 12:20:48 -03:00 |
|
Fabio B. Silva
|
f4c5c4ba01
|
branch for DDC-1335
|
2011-09-23 18:10:58 -03:00 |
|
Guilherme Blanco
|
9795cb1f0d
|
Subqueries should never add items to ResultSetMapping. Fixing possible broken inclusion.
|
2011-09-21 17:35:38 -03:00 |
|
Guilherme Blanco
|
a86038b484
|
Fixed issue with CaseExpression not working in Subselects.
|
2011-09-21 17:30:45 -03:00 |
|
Alexander
|
63a3fb5ad8
|
[DDC-551] Moved SQLFilter logic to a separate FilterCollection class
|
2011-09-15 21:38:47 +02:00 |
|
Guilherme Blanco
|
a7f3af8328
|
Added IDENTITY DQL Function. Fixes DDC-1339.
|
2011-09-08 02:10:48 -03:00 |
|
Guilherme Blanco
|
e3d133af04
|
Added getQuotedTableName() in missing places of Doctrine ORM. Fixes DDC-1365.
|
2011-09-07 01:48:19 -03:00 |
|
Guilherme Blanco
|
6bbf2d9da3
|
Added support for ResultVariable referencing in ArithmeticPrimary. Fixes DDC-1346.
|
2011-09-05 03:16:01 -03:00 |
|