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

131 Commits

Author SHA1 Message Date
zYne
1d6020c454 fixes #533, using DQL identifier aliases before column names is now optional when selecting from single component 2007-10-30 19:10:18 +00:00
meus
53b05c1d4a added tests to get complete coverage of Transaction, RawSQL, AuditLog and Query/Having. Related refactorings. Added some getters to be able to test. Also added coverage report for these changes 2007-10-29 19:50:16 +00:00
zYne
dc5e0cee32 fixes #515, correlated subqueries with IN operator 2007-10-29 18:04:22 +00:00
zYne
991f456fa4 fixes #514, literal value as the first operand for IN 2007-10-29 17:54:40 +00:00
Jonathan.Wage
27b369a5f3 Mass search and replace for coding standards changes, doc block formatting, and code spacing. 2007-10-21 06:23:59 +00:00
romanb
72b2911761 fixed a bug in Doctrine_Query_Abstract::set(). Missing return value. 2007-10-04 15:06:46 +00:00
Jonathan.Wage
f99151063d more api doc changes 2007-10-03 21:47:55 +00:00
Jonathan.Wage
0a6f216efa Lots of formatting changes, cleanup, doc block changes. 2007-10-03 21:43:22 +00:00
zYne
be5eb98ebf 2007-09-20 20:21:08 +00:00
gnat
8402633bcc invalid variable 2007-09-20 05:25:52 +00:00
zYne
9d755abc23 2007-09-17 22:26:25 +00:00
meus
f3a377a794 replace tabs with 4 spaces. and fix other coding style related stuff 2007-09-03 14:57:18 +00:00
romanb
af2a83484f refactored parameter stacking (Fixes #442). 2007-09-02 09:28:38 +00:00
zYne
f6c1560ebc 2007-08-14 20:44:48 +00:00
zYne
5a976de3f4 fixes #335 2007-08-14 20:23:02 +00:00
zYne
201c6b8194 fixes #419 2007-08-14 20:16:31 +00:00
zYne
714a42239b 2007-08-13 21:23:56 +00:00
zYne
ce8fa91204 2007-08-13 21:14:53 +00:00
zYne
1473df1976 new DQL WHERE parser 2007-08-11 21:53:02 +00:00
zYne
1c919c7a0a added whereIn 2007-08-02 21:24:29 +00:00
zYne
a57226b086 fixes #338 2007-07-31 20:22:10 +00:00
romanb
fc2f9f29bd Closes #405.
Syntax for getting input properly escaped through prepared statements:
$query->set('field', 'field + ?', $value)
or
$query->set('field', 'field + ? - ?', array($value1, $value2))
or simply
$query->set('field', '?', $value)
Ticket: 405
2007-07-24 11:34:00 +00:00
RossC0
bba435d7a1 [#404] restored addFrom for the DQL - went missing in Query.php refactorings 2007-07-20 10:11:13 +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
2a2cb285a0 2007-06-27 18:42:47 +00:00
zYne
a6139bb381 2007-06-27 17:41:02 +00:00
zYne
fd54aae035 2007-06-25 20:52:42 +00:00
zYne
113ac3b9e0 1. Merging two event listener APIs
2. Merging Doctrine_Db functionality into Doctrine_Connection

3. Merging Doctrine_Db modules to Doctrine_Connection plugins
2007-06-19 23:33:04 +00:00
zYne
7cac28ba34 2007-06-19 12:25:28 +00:00
zYne
115cadb081 complete support for DISTINCT keyword 2007-06-08 20:17:17 +00:00
zYne
d4c12c357d new DQL Hydration algorithm ! 2007-05-31 17:45:07 +00:00
zYne
0b819a2919 2007-05-27 18:50:56 +00:00
zYne
b1a7875618 2007-05-24 19:47:28 +00:00
zYne
54fcf19fdc 2007-05-24 18:35:52 +00:00
zYne
2ce1c5f483 2007-05-24 17:49:15 +00:00
zYne
3d4bcd4099 2007-05-24 13:58:36 +00:00
zYne
28af01fd8b 2007-05-24 13:52:30 +00:00
zYne
2f10b04e72 2007-05-21 16:15:20 +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
f26217c87a DQL core refactored 2007-05-16 19:20:55 +00:00
zYne
db08423507 2007-05-15 15:33:18 +00:00
zYne
f44cad9c4e 2007-05-15 10:18:34 +00:00
zYne
a430d22cf4 2007-05-15 10:07:05 +00:00
zYne
60276421e7 2007-05-14 23:04:32 +00:00
zYne
3b48b7911c 2007-04-26 18:06:16 +00:00
zYne
92a6699e9a 2007-04-24 10:15:17 +00:00
zYne
eaea971fe4 fixes #307 2007-04-14 16:28:09 +00:00
zYne
73942e7ec7 Check constraint parser added 2007-03-23 20:25:56 +00:00
zYne
1dfbc5b007 fixed the handling of aliases within DQL DELETE and UPDATE queries 2007-03-01 21:48:09 +00:00
zYne
ee8c1a0a6d boolean parsing updated 2007-02-15 11:38:26 +00:00
joesimms
02efd7f73b refactoring for tree implementation 2007-02-08 12:53:32 +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
b6e8c40067 column alias support for DQL HAVING part 2007-01-23 16:40:46 +00:00
zYne
d77ffb28c9 added support for column aliases 2007-01-23 16:27:20 +00:00
zYne
f900a51a7d Custom join condition support for DQL 2007-01-03 15:34:34 +00:00
zYne
08d638eda3 2007-01-02 19:33:22 +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
lsmith
239995d3c3 - fixed switch statement formating according to ZF CS 2006-12-29 21:30:37 +00:00
lsmith
4e22f1fbaf - second round of PEAR CS fixes 2006-12-29 14:40:47 +00:00
lsmith
716bb65b86 - first round of PEAR CS fixes 2006-12-29 14:01:31 +00:00
zYne
480cb5ac68 better expression support 2006-12-28 11:56:24 +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
84bbfccbe2 DQL now supports UPDATE queries 2006-12-14 13:26:16 +00:00
zYne
085dc9d601 Enhanced class doc blocks, fixes #228 2006-11-12 12:14:08 +00:00
zYne
b014566eb8 Refactored DQL classes 2006-10-26 21:32:52 +00:00
zYne
4cd29eaf2c DQL enum handling fixed, fixes #202 2006-10-26 20:53:59 +00:00
zYne
c1280d31dc Refs #175, Removed $collections instance variable from Doctrine_Record 2006-10-18 19:55:14 +00:00
pookey
a2299b2a25 refs #170, this adds != support for boolean 2006-10-15 23:09:33 +00:00
zYne
f40601fefe Fixes #161, DQL : added support for EJB 3 -style JOIN syntax 2006-10-12 19:57:56 +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
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
e3f5aa9fb2 Boolean type bugs fixed, fixes #101
Ticket: 101
2006-09-26 21:12:14 +00:00
pookey
6094eeb536 moving php source files to lib directroy 2006-09-26 15:00:13 +00:00