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 |
|
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 |
|
Fabio B. Silva
|
aeb2ab132b
|
group by all fields when entity has foreign keys
|
2011-11-15 20:27:45 -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 |
|
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 |
|
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 |
|
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 |
|
Alexander
|
079e2b1302
|
[DDC-1384] Fix for generating sql with aliases not longer than MaxIdentifierLength
|
2011-10-22 16:27:56 +02: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
|
772b413579
|
Fixed bug with boolean values being converted to string.
|
2011-10-15 00:23:55 -03:00 |
|
Guilherme Blanco
|
ebe933810e
|
Implemented HIDDEN support in DQL. Fixes DDC-1363.
|
2011-10-03 02:07:07 -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 |
|
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 |
|
Guilherme Blanco
|
6857134f36
|
Fixed issue with duplicated commas if Entity has no fields.
|
2011-08-15 12:47:17 -03:00 |
|
Guilherme Blanco
|
f148912a28
|
[DDC-934][DDC-1100][DDC-1331] Implemented support to multi-values in INSTANCE OF expression.
|
2011-08-15 01:53:56 -03:00 |
|
Guilherme Blanco
|
a0ca506db7
|
Added support to SingleValuePathExpression in ORDER BY.
|
2011-08-14 00:46:02 -03:00 |
|
Guilherme Blanco
|
816ce41f63
|
Added support to CaseExpression. Added support to nest AndX and OrX QueryBuilder composite expressions, since they do not mess with generated queries.
|
2011-08-08 02:09:25 -03:00 |
|
Benjamin Eberlei
|
196632978c
|
DDC-1298 - Fix bug in SQLWalker with derived entities that have no fields of their own.
|
2011-07-27 23:22:20 +02:00 |
|
Alexander
|
65f7e897b5
|
[DDC-1294] Add discriminator information to subselects
|
2011-07-26 00:19:26 +02:00 |
|
Benjamin Eberlei
|
ed516edf90
|
Fix discriminator casing problem in Oracle
|
2011-06-26 17:49:34 +02:00 |
|
Guilherme Blanco
|
699ccfddb6
|
Implemented COALESCE and NULLIF support in DQL.
|
2011-06-17 16:16:22 -03:00 |
|
Benjamin Eberlei
|
1038a866a4
|
DDC-1194 - Improve error handling for DQL INSTANCE OF
|
2011-06-05 10:48:21 +02:00 |
|
Benjamin Eberlei
|
9ea03de84f
|
DDC-1080 - Fix bug with hydration of derived entities/foreign key as primary key.
|
2011-05-17 23:42:24 +02:00 |
|
Guilherme Blanco
|
54a0109d5d
|
[DDC-1147] Allowed usage of 0-based input parameters in DQL.
|
2011-05-11 17:30:42 -03:00 |
|
Benjamin Eberlei
|
bda15231da
|
[DDC-1077] Bugfix in not handling literals in Select Expressions.
|
2011-03-27 21:10:50 +02:00 |
|
Benjamin Eberlei
|
edfdbe10a0
|
[DDC-1053] Fix bug with usage of identification variables in GroupByItem.
|
2011-03-20 14:07:33 +01:00 |
|
Guilherme Blanco
|
505d9e2154
|
[DDC-1036] Modified the AggregateExpressions to support SimpleArithmeticExpression instead of StateFieldPathExpression.
|
2011-02-20 01:44:05 -03:00 |
|
Guilherme Blanco
|
70d2cbe857
|
[DDC-982] Implemented more unique sql table alias.
|
2011-02-20 01:30:58 -03:00 |
|
Guilherme Blanco
|
dcf358f154
|
Fixed some warnings from phpunit.
|
2011-02-19 19:50:58 -02:00 |
|
Benjamin Eberlei
|
7390030854
|
Merge branch 'DDC-250'
|
2011-02-05 11:44:00 +01:00 |
|
Benjamin Eberlei
|
9768d08458
|
[DDC-250] Add tests and fix some glitches and finalized index-by patch.
|
2011-02-05 11:42:10 +01:00 |
|
Benjamin Eberlei
|
61e2cdc6b0
|
[DDC-1018] Bugfix: INDEX BY was not working in JOIN Declarations, only in FROM.
|
2011-02-05 10:04:18 +01:00 |
|
Benjamin Eberlei
|
4532c2255a
|
[DDC-1018] Bugfix: INDEX BY was not working in JOIN Declarations, only in FROM.
|
2011-02-05 10:02:37 +01:00 |
|
Benjamin Eberlei
|
078e19d1c7
|
DDC-980 - Fix Update and Delete statements reference of the root table when doing subselects.
|
2011-01-13 21:16:08 +01:00 |
|
Benjamin Eberlei
|
c2bbaa9ead
|
DDC-117 - Slight changes in the patch and fixing inline comments.
|
2011-01-01 18:53:22 +01:00 |
|
Benjamin Eberlei
|
194a90923d
|
DDC-117 - Finalize patch, fix all the problems of different use-cases by hugely expanding the test-model.
|
2011-01-01 18:17:19 +01:00 |
|
Benjamin Eberlei
|
e7b4dca611
|
Merge master into DDC-117
|
2010-12-28 17:27:47 +01:00 |
|