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

201 Commits

Author SHA1 Message Date
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
zYne
7b48189ba5 new DQL aggregate value model 2006-12-21 22:06:08 +00:00
zYne
a81e1d766f added leftJoin and innerJoin methods 2006-12-15 23:07:01 +00:00
zYne
84bbfccbe2 DQL now supports UPDATE queries 2006-12-14 13:26:16 +00:00
zYne
2d29792301 Doctrine now works seamlessly in multi-connection environment where connections are bound to classes 2006-12-05 21:46:38 +00:00
zYne
d8c48da227 added quote identifier support for limit subquery algorithm 2006-12-03 20:13:28 +00:00
zYne
df0511e9dc Updated some docs, added identifier quoting to DQL, fixed some test cases, fixed dql select part handling 2006-12-03 20:05:09 +00:00
zYne
fcce6bd239 Updated transaction drivers, ORM core now uses the new Export API 2006-12-02 14:40:47 +00:00
pookey
6f6ce2424e refs #174 - probably fixes, zYne- please check... tests are currently broken 2006-12-02 07:55:15 +00:00
zYne
7556bfcb71 Fixed DELETE handling, fixes #236 2006-11-30 22:40:59 +00:00
zYne
161b9125e1 added missing class Doctrine_Hydrate_Alias, refactored query and hydrate classes 2006-11-27 22:39:18 +00:00
zYne
be7931ed3a Added Doctrine_Hydrate_Alias for more flexible alias handling, small fixes for many classes 2006-11-27 22:22:31 +00:00
zYne
5f1a4074a0 2006-11-20 20:28:59 +00:00
zYne
fb8498e0bd Quick fix for bug found with many-to-many relation fetching and limit 2006-11-20 20:22:53 +00:00
pookey
b3915b8ad0 fixing typo 2006-11-16 21:54:53 +00:00
zYne
2c3b8bab19 Fixed limit subquery handling on mysql with prepared statements, fixes #231 2006-11-16 21:38:59 +00:00
Tanken
f94d3e4703 Fixed OFFSET clause generation of Pgsql driver, which added the OFFSET keyword without a value to the SQL query in case of OFFSET 0. fixes #230 2006-11-13 08:01:56 +00:00
Tanken
219a2c2064 Fixed OFFSET 0 which was interpreted as null and then ignored in SQL-query, causing a SQL-exception 2006-11-13 07:33:51 +00:00
zYne
085dc9d601 Enhanced class doc blocks, fixes #228 2006-11-12 12:14:08 +00:00
zYne
34ecd30498 Doctrine_Query::where() now accepts prepared statement parameters 2006-11-08 19:12:16 +00:00
zYne
a0aa16bbea Doctrine_Db updates 2006-11-08 10:18:15 +00:00
chtito
d466830722 fixes for #218 and #219 2006-11-06 07:10:06 +00:00
pookey
db4634557f fixing typo 2006-11-05 20:23:54 +00:00
zYne
319b645daa Fixes #221 2006-11-05 20:17:07 +00:00
zYne
bd776a680a DQL: support for DISTINCT keyword in aggregate functions, fixes #220 2006-11-05 20:08:34 +00:00
zYne
ba4c83ef3a Total rewrite for DQL alias model: now using short aliases instead of long aliases (needed for Oracle portability). 2006-11-05 19:24:28 +00:00
zYne
b75ef330d4 Fixed pgsql limit subquery algorithm 2006-11-01 17:08:35 +00:00
zYne
7ef869ee40 Refactored Doctrine_Connection and Doctrine_Record, fixes #212 2006-10-30 23:00:09 +00:00
zYne
d0c0592e85 Little fix for preserving fields on pgsql when limit subquery with orderby is used 2006-10-26 23:20:01 +00:00
zYne
dd73f6de4a Fixes #205 2006-10-26 23:05:55 +00:00
zYne
53bdc31ad5 added adapter skeletons, fixed wrong limit subquery ordering 2006-10-26 22:12:58 +00:00
zYne
b014566eb8 Refactored DQL classes 2006-10-26 21:32:52 +00:00
zYne
c1280d31dc Refs #175, Removed $collections instance variable from Doctrine_Record 2006-10-18 19:55:14 +00:00
zYne
1c8cf0271e DQL: DELETE support added 2006-10-18 17:37:20 +00:00
zYne
cce886dadd Fixes #174 2006-10-17 21:18:57 +00:00
zYne
5cbc3fc817 2006-10-17 17:23:59 +00:00
zYne
bfcfa9f2f2 Aggregate function support added 2006-10-17 17:21:21 +00:00
Tanken
e32e960b1d Fixed windows formatting 2006-10-16 10:38:41 +00:00
Tanken
075a58089a Fixed a missing space in the query build by count()
Fixed count()'s code formatting (was tabs in some lines)
fixes #171
Ticket: 171
2006-10-16 10:04:38 +00:00
zYne
8b4bc0f41c Fixes #159, #160, added EXISTS expression support as well as correlated subquery support 2006-10-11 20:44:21 +00:00
zYne
5957622575 Fixes #157
Ticket: 157
2006-10-10 18:09:20 +00:00
zYne
499da8f9b8 Fixes #156
Ticket: 156
2006-10-09 16:32:37 +00:00
zYne
cba61cb346 Fixes #155 2006-10-08 19:10:21 +00:00
zYne
847bd1ade6 new attribute: Doctrine::ATTR_ACCESSORS, DQL subquery support, accessor invoking support 2006-10-06 16:50:00 +00:00
zYne
4408774100 DQL Component Aliases added! Fixes #142
Ticket: 142
2006-10-03 17:24:13 +00:00
zYne
8abb979578 Fixes #85 2006-10-01 16:14:26 +00:00
zYne
ed62d636e6 Moved relation classes under Doctrine_Relation namespace, fixes #134
Ticket: 134
2006-09-28 20:57:39 +00:00
zYne
c8c1397f8a fixes #133
Ticket: 133
2006-09-28 20:03:29 +00:00
pookey
6094eeb536 moving php source files to lib directroy 2006-09-26 15:00:13 +00:00