1
0
mirror of synced 2024-12-14 23:26:04 +03:00
Commit Graph

198 Commits

Author SHA1 Message Date
romanb
7bedb0b21d Added Doctrine_Query::free() to make it possible to help PHPs current GC 2007-08-29 18:40:58 +00:00
romanb
8aa8c54fb3 Small changes to the recent fix from jonwage 2007-08-14 18:28:35 +00:00
Jonathan.Wage
7f4abdf292 Added copy() method to Query.php and made NestedSet.php use it because native clone() does not work. Also Added ->getSql() to getRootAlias() so that _aliasMap is present after the parsing. 2007-08-14 16:37:48 +00:00
zYne
b243286bee formatting fix 2007-08-11 18:22:13 +00:00
zYne
78f683d855 fixes #424 2007-08-09 17:31:31 +00:00
zYne
795bb23c2f 2007-08-09 17:25:07 +00:00
zYne
2468d4e78d drafting the new clause parser 2007-08-07 20:41:33 +00:00
Jonathan.Wage
75a1ead588 Fixed issue with count() and composite column primary keys 2007-08-01 17:56:18 +00:00
zYne
a269fcdb18 Custom join condition model rewritte, full support for ON and WITH keywords 2007-07-31 19:33:58 +00:00
zYne
d49c6cabeb 2007-07-13 21:51:03 +00:00
Jonathan.Wage
c37c61b5aa Fixed count() returning incorrect count when groupby exists. 2007-07-12 21:37:18 +00:00
zYne
d434174a96 added Search component, new record event listeners and some tests 2007-07-11 14:39:15 +00:00
zYne
1c4f4f665b 2007-07-09 12:36:21 +00:00
zYne
5aea10ec39 2007-07-09 11:23:44 +00:00
hansbrix
4cb332fba4 added method to properly quote IN (...) strings
Ticket: 383
2007-07-09 07:55:45 +00:00
zYne
fcc58778c5 2007-07-08 20:18:50 +00:00
zYne
56768b613f fixed identifier quoting 2007-07-06 20:55:15 +00:00
zYne
e4114c47fa fixed literal enum conversion with joins 2007-07-05 17:25:53 +00:00
zYne
501e8e9158 2007-06-27 22:40:17 +00:00
zYne
e1979612c7 2007-06-27 22:29:57 +00:00
zYne
2a2cb285a0 2007-06-27 18:42:47 +00:00
zYne
279f3d69f9 2007-06-27 18:03:16 +00:00
zYne
07a710ef0b 2007-06-27 17:51:51 +00:00
zYne
a6139bb381 2007-06-27 17:41:02 +00:00
zYne
81d39c5026 2007-06-26 23:12:45 +00:00
zYne
612793d9cb fixes #359 2007-06-25 20:08:16 +00:00
subzero2000
dea4968a23 Completes deprecation of Doctrine_Db. Fixes #362. 2007-06-25 17:48:44 +00:00
zYne
431b63d6bd fixes #356 2007-06-24 21:04:54 +00:00
zYne
50c9cf3bc6 2007-06-19 18:53:46 +00:00
zYne
a0dd44ad63 2007-06-19 10:43:19 +00:00
zYne
a770f83d45 DQL-to-SQL lazy conversion 2007-06-18 22:30:15 +00:00
zYne
33a6a5e3ab 2007-06-17 20:22:39 +00:00
zYne
642d44d3d9 2007-06-17 17:14:04 +00:00
zYne
9ed0e6e886 2007-06-17 17:01:35 +00:00
zYne
595071f767 added full support for join table self-referencing 2007-06-11 19:27:16 +00:00
zYne
115cadb081 complete support for DISTINCT keyword 2007-06-08 20:17:17 +00:00
zYne
bc717ac900 2007-06-07 18:31:11 +00:00
zYne
2662b46e9a DQL aggregate value model rewrite 2007-06-01 10:17:50 +00:00
zYne
e7732ee975 DQL limit-subquery-algorithm ORDER BY handling fixed 2007-05-31 18:30:47 +00:00
zYne
d4c12c357d new DQL Hydration algorithm ! 2007-05-31 17:45:07 +00:00
zYne
2973b274e4 2007-05-27 18:52:33 +00:00
zYne
6673186970 dql resultSet cache, first draft 2007-05-27 11:38:16 +00:00
zYne
520178509d 2007-05-26 19:50:40 +00:00
zYne
b1a7875618 2007-05-24 19:47:28 +00:00
zYne
6b86c9fa47 2007-05-24 18:30:18 +00:00
zYne
b4bcc51c12 2007-05-24 18:21:26 +00:00
zYne
b6dcef0eee 2007-05-24 18:00:35 +00:00
zYne
2ce1c5f483 2007-05-24 17:49:15 +00:00
zYne
755f30f642 2007-05-24 17:46:32 +00:00
zYne
df773520d6 2007-05-24 17:40:54 +00:00
zYne
7e953aa240 subquery aliases now mapped to aliasMap 2007-05-24 17:22:43 +00:00
zYne
074a434ae2 2007-05-24 17:13:59 +00:00
zYne
525e7d74a1 2007-05-24 16:53:51 +00:00
zYne
2d9c165fad parser caching functionality added 2007-05-24 16:13:50 +00:00
zYne
199d818f38 2007-05-24 14:36:10 +00:00
zYne
e03ef62527 2007-05-24 14:19:44 +00:00
zYne
71338c3d09 drafting the new relation model, still a lot of work 2007-05-22 15:57:17 +00:00
zYne
531f4a4dea 2007-05-19 18:29:29 +00:00
zYne
5d4b8c45e6 Unified abstract class for RawSql and Query components 2007-05-19 18:06:42 +00:00
zYne
1508803443 2007-05-19 17:49:16 +00:00
zYne
68088c16c5 Enum support for placeholders! 2007-05-17 23:13:58 +00:00
zYne
827755afd3 2007-05-16 21:28:33 +00:00
zYne
330bf1d408 2007-05-16 19:52:06 +00:00
zYne
f26217c87a DQL core refactored 2007-05-16 19:20:55 +00:00
zYne
e81891e310 2007-04-26 17:42:03 +00:00
zYne
e990c9e4f8 2007-04-22 11:06:19 +00:00
zYne
f4d160e0d8 2007-04-20 23:58:28 +00:00
monolit
40b7b14fb7 explode queries by any whitespaces, not only spaces 2007-04-20 13:06:22 +00:00
monolit
623228b4a9 avoid endless loops with __call in Doctrine_Query when calling non-existent overload method
(join, parsejoin, parseparsejoin, ...)
2007-04-20 10:11:49 +00:00
monolit
c3439aeebb Ticket #312
Duplicated params in sql when using LIMIT or OFFSET and MYSQL - due to Doctrine_Query::getQuery()
2007-04-19 14:36:29 +00:00
gyim
44101abceb FIX: Doctrine_Query::count() prevented execute() calls on the same query object 2007-04-19 14:16:04 +00:00
zYne
647542d5ee 2007-04-16 17:59:45 +00:00
zYne
eaea971fe4 fixes #307 2007-04-14 16:28:09 +00:00
romanb
0d2e83ff8a made Doctrine_Query ignore empty orderby parameters 2007-04-13 18:03:44 +00:00
zYne
d1b9daa2b1 made Doctrine_Query ignore empty orderby parameters 2007-04-13 17:53:16 +00:00
gnat
1fbb8b6c08 unitialized or typo variables 2007-03-20 23:22:51 +00:00
zYne
a9817a03d5 new methods: addSelect() and addHaving() 2007-03-16 22:05:36 +00:00
zYne
8bc6813100 fixed DQL DELETE handling for mysql 2007-03-02 22:13:05 +00:00
zYne
1dfbc5b007 fixed the handling of aliases within DQL DELETE and UPDATE queries 2007-03-01 21:48:09 +00:00
zYne
9b525f348b updated the DQL DELETE handling 2007-03-01 21:32:08 +00:00
zYne
81a8f3d545 2007-02-17 18:14:32 +00:00
zYne
4282758023 fixed Doctrine_Query::count() 2007-02-08 18:26:05 +00:00
zYne
8dc99daa9f Refactored many classes 2007-02-08 13:56:23 +00:00
zYne
ddb45098c0 little fix 2007-02-07 15:13:43 +00:00
zYne
5e4d1c3fdf added ORDER BY RANDOM() 2007-02-07 14:16:07 +00:00
zYne
a39199f29d DQL ORDER BY now supports ordering by an aggregate value 2007-01-27 10:50:03 +00:00
zYne
84a7fb7973 Fixed DQL subquery handling 2007-01-27 10:28:25 +00:00
zYne
25f1d5e8ff Fixed DQL many-to-many alias handling 2007-01-27 10:08:06 +00:00
zYne
d77ffb28c9 added support for column aliases 2007-01-23 16:27:20 +00:00
zYne
880ca14f74 added PDO based attributes, fixed DQL aggregate value handling with left joins + added some new tests
Ticket: 263
2007-01-17 22:07:09 +00:00
zYne
0aac52ef74 2007-01-04 23:52:18 +00:00
zYne
f900a51a7d Custom join condition support for DQL 2007-01-03 15:34:34 +00:00
chtito
1a52fe7263 typo (might fix #236) 2007-01-02 17:23:20 +00:00
zYne
b18b38da25 added custom join condition support for DQL 2007-01-01 18:29:22 +00:00
lsmith
9d87bb45f4 - remove trailing whitespace 2006-12-29 21:46:14 +00:00
zYne
f6400e0119 2006-12-29 13:55:49 +00:00
zYne
480cb5ac68 better expression support 2006-12-28 11:56:24 +00:00
zYne
f571c61ecf 2006-12-26 20:33:40 +00:00
zYne
cf939c6d3a Doctrine_Hook first draft + test cases 2006-12-23 22:45:36 +00:00
zYne
aa349ecb74 2006-12-22 21:10:14 +00:00