1
0
mirror of synced 2024-12-15 07:36:03 +03:00
Commit Graph

938 Commits

Author SHA1 Message Date
zYne
f2895955e8 2007-06-07 20:46:08 +00:00
runa
7a00232c7a fixes bug with extended-non-Doctrine_Record tables and makes the relationship parser to fallback to the old method to find keys if it cannot be guessed 2007-06-07 19:20:24 +00:00
romanb
42170dd406 Fixed #328
Ticket: 328
2007-06-07 19:17:56 +00:00
zYne
bc717ac900 2007-06-07 18:31:11 +00:00
zYne
cc998bf165 2007-06-07 18:21:07 +00:00
zYne
7bacdf0721 2007-06-07 17:58:41 +00:00
zYne
a00c6061ab One-to-one relation fetching fixed 2007-06-07 17:04:56 +00:00
zYne
7bb0a29819 2007-06-07 16:26:01 +00:00
zYne
22a2494569 2007-06-06 00:12:44 +00:00
zYne
86c5a659ed 2007-06-06 00:02:50 +00:00
zYne
6ef0cc9993 2007-06-05 23:58:11 +00:00
zYne
c697f09f32 2007-06-05 23:35:11 +00:00
zYne
3230021f7f Proper false statement handling 2007-06-05 23:19:12 +00:00
zYne
b41714eec5 2007-06-05 23:15:15 +00:00
zYne
2a99edae06 2007-06-05 22:37:38 +00:00
zYne
e42bb0e506 2007-06-05 21:02:21 +00:00
zYne
84eaea70d1 2007-06-05 21:00:39 +00:00
zYne
5bb1dbb893 2007-06-05 20:55:54 +00:00
zYne
1e2b0bf67b 2007-06-05 19:23:01 +00:00
zYne
c8d36a399a Removed deprecated AccessorInvoker 2007-06-05 19:14:43 +00:00
zYne
dcc3bd8c7d 2007-06-05 18:38:00 +00:00
zYne
33fecefdb6 2007-06-05 17:56:04 +00:00
zYne
cc56542d11 2007-06-04 22:55:47 +00:00
zYne
a0a9df9b71 2007-06-04 22:45:03 +00:00
zYne
4d0310bfd5 2007-06-04 22:38:39 +00:00
zYne
63bca659f8 huge bug fix for new hydration algorithm 2007-06-04 22:37:27 +00:00
runa
a41cd2bb01 support for unique columns in multikey tables 2007-06-04 18:47:26 +00:00
romanb
d7d1bdd97a Bugfix for parseData2(). Unrelated to the issues mentioned in my previous commit. 2007-06-02 20:33:41 +00:00
zYne
2662b46e9a DQL aggregate value model rewrite 2007-06-01 10:17:50 +00:00
zYne
62e1e7d6b9 2007-05-31 22:00:59 +00:00
zYne
a5ab96546e 2007-05-31 21:06:11 +00:00
zYne
bf3b4d6e75 2007-05-31 20:13:04 +00:00
zYne
bc1d7e0cd4 2007-05-31 20:11:58 +00:00
zYne
e3cc035103 2007-05-31 18:47:08 +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
12a9f30a76 2007-05-30 10:38:32 +00:00
zYne
ecbecaa67b new attribute Doctrine::ATTR_LOAD_REFERENCES 2007-05-30 10:20:21 +00:00
zYne
b8559e37ec 2007-05-30 10:19:52 +00:00
zYne
58ec853b36 2007-05-29 19:20:39 +00:00
zYne
b969552cc2 2007-05-29 18:59:14 +00:00
zYne
cc01ca4686 2007-05-29 18:55:46 +00:00
zYne
e448bcb889 2007-05-29 17:36:15 +00:00
zYne
e77b65bbcf first (ugly) draft for array population algorithm 2007-05-28 19:03:57 +00:00
zYne
b774c98777 2007-05-28 15:13:11 +00:00
romanb
2f0178d273 Two bugfixes. 2007-05-28 09:54:29 +00:00
romanb
502103d7a4 Performance improvements and a small fix. 2007-05-27 20:00:53 +00:00
zYne
560079825e 2007-05-27 19:05:33 +00:00
zYne
fa11260e75 2007-05-27 18:56:04 +00:00
zYne
2973b274e4 2007-05-27 18:52:33 +00:00
zYne
0b819a2919 2007-05-27 18:50:56 +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
adc870d2e5 old relation adapter layer now supports tree relations 2007-05-26 17:04:41 +00:00
zYne
49574ce956 2007-05-26 16:49:58 +00:00
zYne
adc6c1b22a new connection module: Formatter 2007-05-25 09:45:41 +00:00
zYne
1e5c0d674c fixes #333 2007-05-24 22:08:54 +00:00
zYne
b1a7875618 2007-05-24 19:47:28 +00:00
zYne
bf263fe1b3 2007-05-24 19:29:27 +00:00
zYne
54fcf19fdc 2007-05-24 18:35:52 +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
4b7a4a0e97 2007-05-24 16:54:42 +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
324188a6f4 added cache constants 2007-05-24 16:13:36 +00:00
zYne
199d818f38 2007-05-24 14:36:10 +00:00
runa
569ad7cfa0 fixed typo 2007-05-24 14:27:10 +00:00
zYne
e03ef62527 2007-05-24 14:19:44 +00:00
zYne
3d4bcd4099 2007-05-24 13:58:36 +00:00
zYne
28af01fd8b 2007-05-24 13:52:30 +00:00
zYne
60136a4b0a 2007-05-24 13:29:18 +00:00
zYne
775e861f1e 2007-05-24 13:01:58 +00:00
zYne
e3e001efbc 2007-05-23 21:49:27 +00:00
zYne
e922ae7689 2007-05-23 21:13:13 +00:00
zYne
8c54e8d736 fixed delete state handling 2007-05-23 20:41:03 +00:00
zYne
01d8e55bd0 fixed reference setting 2007-05-23 20:33:47 +00:00
zYne
796c53fc87 remove getter / setter invocation from the core, getter / setter generation will soon be part of Import 2007-05-23 20:26:21 +00:00
romanb
c57cf249c6 Important security fix for the e-mail validator. The D modifier was missing in the pattern. 2007-05-23 09:55:32 +00:00
zYne
f2484d1726 2007-05-22 21:05:52 +00:00
zYne
7d10dbe190 transaction deletes no longer unset record identifiers 2007-05-22 20:56:59 +00:00
zYne
58bfed2bec 2007-05-22 20:52:19 +00:00
zYne
7e003d3aa1 transactions now register collections for snapshots 2007-05-22 20:47:27 +00:00
zYne
124fbff038 2007-05-22 20:11:56 +00:00
zYne
f6bb8c9726 2007-05-22 18:09:54 +00:00
zYne
99037abdad 2007-05-22 17:42:47 +00:00
zYne
146b215d06 2007-05-22 16:58:34 +00:00
zYne
71338c3d09 drafting the new relation model, still a lot of work 2007-05-22 15:57:17 +00:00
zYne
b3b1f617fe 2007-05-21 21:52:14 +00:00
zYne
4a379951e6 2007-05-21 21:15:57 +00:00
zYne
2e6d8a9854 2007-05-21 21:06:17 +00:00
zYne
a7d1d643f0 updated doc blocks 2007-05-21 20:36:07 +00:00
zYne
abcc423fbf new relation parser now supports many-to-many relations 2007-05-21 20:27:56 +00:00
zYne
4f57aac33e 2007-05-21 20:21:49 +00:00
zYne
ec28b0b92a 2007-05-21 20:06:23 +00:00
zYne
e0eafb56d7 2007-05-21 20:06:18 +00:00
lsmith
6cb07b57e6 - fixed handling of non select queries
- moved code from _fetch() back into execute() as a result (maybe move the code after parseData() into a private function in order to keep the method size manageable
2007-05-21 19:15:29 +00:00
zYne
5227d51e7e 2007-05-21 17:35:20 +00:00
zYne
9e016069d5 2007-05-21 16:29:07 +00:00
zYne
2f10b04e72 2007-05-21 16:15:20 +00:00
zYne
5b22e5431f 2007-05-21 16:02:30 +00:00
zYne
df18483028 2007-05-20 21:51:10 +00:00
zYne
8bd1c75b4a added Db2 exception 2007-05-20 21:47:55 +00:00
zYne
598cdb5e01 added adapter exception class 2007-05-20 21:46:46 +00:00
zYne
56e3a39f83 added Db2 adapter 2007-05-20 21:46:10 +00:00
zYne
4aa70a18b0 2007-05-20 21:35:49 +00:00
zYne
999c72bbb6 2007-05-20 21:30:08 +00:00
zYne
0b9ea73aaf 2007-05-20 21:18:52 +00:00
zYne
919da9e6c6 2007-05-20 20:49:42 +00:00
zYne
ff73391637 2007-05-20 20:35:21 +00:00
zYne
7c2dc1a978 2007-05-20 19:28:21 +00:00
zYne
de3242227b 2007-05-20 18:40:53 +00:00
zYne
45f4ec2443 2007-05-20 18:33:29 +00:00
zYne
0f921a8c4d 2007-05-20 17:54:22 +00:00
zYne
10312db4eb fixed boolean conversion 2007-05-19 22:40:46 +00:00
zYne
71c52205ad fixed boolean conversion 2007-05-19 22:40:09 +00:00
zYne
b60f68d58e 2007-05-19 22:17:59 +00:00
zYne
a39c35c83b 2007-05-19 19:54:15 +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
4e888855d1 2007-05-19 17:29:43 +00:00
zYne
c9d9bf1905 2007-05-19 17:05:25 +00:00
zYne
bbe6f1c2ea 2007-05-18 09:35:00 +00:00
zYne
9d8cb481a7 2007-05-18 09:33:51 +00:00
zYne
4b09d95d0f 2007-05-18 09:30:29 +00:00
zYne
9b470a642b 2007-05-18 09:26:38 +00:00
zYne
22753f1931 2007-05-18 09:22:31 +00:00
zYne
62e7ba76db 2007-05-18 09:22:06 +00:00
zYne
68088c16c5 Enum support for placeholders! 2007-05-17 23:13:58 +00:00
zYne
b6b91ac0ee 2007-05-17 21:48:12 +00:00
Jonathan.Wage
a1ef5fbf4b Fixed issue with isValidNode() and it not accepting an argument when it should allow it. 2007-05-17 19:52:50 +00:00
zYne
6f466c3f9c 2007-05-16 22:51:28 +00:00
zYne
882318613b 2007-05-16 22:45:39 +00:00
zYne
f44784d908 made all manager variables protected and adhere to Zend naming conventions 2007-05-16 22:45:13 +00:00
zYne
5d3660f285 2007-05-16 22:34:38 +00:00
zYne
1b3e981737 2007-05-16 22:28:32 +00:00
zYne
33bb25ac20 2007-05-16 22:22:54 +00:00
zYne
936d442cc0 2007-05-16 21:51:23 +00:00
zYne
2291272ebf 2007-05-16 21:47:23 +00:00
zYne
827755afd3 2007-05-16 21:28:33 +00:00
zYne
82ba74e2e8 2007-05-16 20:27:03 +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
389d137312 2007-05-15 22:37:04 +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
86fa70d6d1 2007-05-14 17:56:47 +00:00
meus
00bf8c9522 Fatal error: Cannot make non static method Doctrine_Exception::errorMessage() static in class Doctrine_Connection_Exception 2007-05-14 13:00:14 +00:00
zYne
5b2c3a4ead 2007-05-12 23:27:16 +00:00
zYne
a51e7742fa added Doctrine_Record_Filter 2007-05-12 22:42:16 +00:00
zYne
6a2012b4cf made dump accept second parameter as native function var_dump 2007-05-11 21:33:23 +00:00
lsmith
ad0f389870 - added ability to set scale at runtime 2007-05-11 19:20:38 +00:00
lsmith
fd0c11073c - remove debug code 2007-05-11 19:15:18 +00:00
lsmith
efc7baa19b - use ATTR_DECIMAL_PLACES when defining a decimal field 2007-05-11 19:13:20 +00:00
zYne
4d1722fba4 added ATTR_DECIMAL_PLACES 2007-05-11 19:08:16 +00:00
zYne
29a6d2ef7f added new methods 2007-05-11 19:07:06 +00:00
zYne
e3b3439415 2007-05-10 23:46:09 +00:00
zYne
7c78d89217 2007-05-10 23:45:26 +00:00
zYne
f99e3dd476 added Doctrine_Hydrate_Exception 2007-05-10 21:31:09 +00:00
romanb
4b5731baf5 Make Doctrine_Node_NestedSet::delete() work correctly with multiple roots. 2007-05-08 19:35:31 +00:00
subzero2000
86fe74d58e Added support for gzip and enum types that was missing so when
Doctrine_Record::unserialize() calls Doctrine_Record::cleanData(),
the data for gzip and enum types is correct. Fixes #322.

Also, minor formatting cleanup in Doctrine_Record::serialize().
2007-05-07 22:46:47 +00:00
subzero2000
b68a791bf7 Added back proper type-casting of integer and boolean types that was added in r419 and removed in r422. Fixes #321. 2007-05-07 22:39:25 +00:00
romanb
f0236dc9a1 More additions to the NestedSet implementation: Added $node->makeRoot() which can be used when using many roots to detach a node from a tree and make it a root node itself. 2007-05-07 18:29:52 +00:00
romanb
e90e62c9f7 Small fix: createRoot() only generates a root id if it doesnt already have a valid value 2007-05-07 16:05:14 +00:00
romanb
a1ee3f97e7 Added support for transparently moving nodes between different trees when using many roots (EXPERIMENTAL!) 2007-05-07 15:49:23 +00:00
zYne
0a58490a1f 2007-05-01 19:26:03 +00:00
zYne
3b48b7911c 2007-04-26 18:06:16 +00:00
zYne
e81891e310 2007-04-26 17:42:03 +00:00
runa
9460ff9e2c use the connections array for key() 2007-04-24 17:33:10 +00:00
zYne
471a0a0005 2007-04-24 16:59:07 +00:00
zYne
92a6699e9a 2007-04-24 10:15:17 +00:00
romanb
bc24aafd87 Closed #313
Ticket: 313
2007-04-23 10:43:09 +00:00
zYne
e990c9e4f8 2007-04-22 11:06:19 +00:00
zYne
c39c751889 2007-04-22 10:54:01 +00:00
zYne
18944f39c6 2007-04-21 22:36:46 +00:00
zYne
f4d160e0d8 2007-04-20 23:58:28 +00:00
zYne
d81a843e73 boolean type fix 2007-04-20 18:18:44 +00:00
monolit
40b7b14fb7 explode queries by any whitespaces, not only spaces 2007-04-20 13:06:22 +00:00
meus
5990090652 Added getCollectionAsXml and cleaned up the getRecordAsXml function. It
should return primary_keys correctly now.
2007-04-20 12:42:53 +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
meus
d9b13a5c3a Added getRecordAsXml that returns an record as XML.
In order for this to work specify the xml option in a record. 
The xml option is an array that has 2 keys. 

ignore_fields is an array of fields that are not displayed in the xml
include_relations(optional) is an array of relations that should be included in
the xml.
2007-04-19 20:24:08 +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
f6af2616c0 2007-04-18 11:14:38 +00:00
zYne
b71ac561c3 enhanced error handling 2007-04-18 11:11:07 +00:00
zYne
26a723e81d fixed identifier quoting for update() 2007-04-18 09:49:54 +00:00
zYne
9862f45fc3 another identifier quoting fix 2007-04-18 09:48:23 +00:00
zYne
c5eb26c3ba identifier quoting fix 2007-04-18 09:47:02 +00:00
zYne
707f801509 2007-04-18 08:59:10 +00:00
zYne
68de3e8244 oci8 alias fix 2007-04-17 22:16:11 +00:00
zYne
b1c307c40a 2007-04-17 22:03:11 +00:00