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

728 Commits

Author SHA1 Message Date
zYne
b1c307c40a 2007-04-17 22:03:11 +00:00
zYne
9e35c9029b 2007-04-17 17:41:51 +00:00
zYne
10f96e01e3 fixes #309 2007-04-17 17:36:55 +00:00
zYne
7a9a86a5c6 fixes #310 2007-04-17 17:25:08 +00:00
zYne
b81f399c12 2007-04-16 18:08:11 +00:00
zYne
647542d5ee 2007-04-16 17:59:45 +00:00
pookey
ff1886754d fixed #307 2007-04-16 14:43:12 +00:00
pookey
7b2a2ac84c refs #307 comment 3 2007-04-16 13:49:14 +00:00
zYne
eaea971fe4 fixes #307 2007-04-14 16:28:09 +00:00
zYne
3ffe5d0f9d 2007-04-13 18:06:48 +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
runa
cd8452aa8b added copydeep function 2007-04-12 18:32:07 +00:00
romanb
635bc1fa66 Improved the previous fix for the unique validator. 2007-04-12 13:37:45 +00:00
romanb
18766e6579 Fixed an issue with the unique validator. 2007-04-12 08:38:59 +00:00
meus
93c386f612 Fixed double quotes to single quotes 2007-04-11 19:12:38 +00:00
meus
be9d359937 Fixed indentation and other issues related to coding style 2007-04-11 19:06:13 +00:00
zYne
34cce3e0c8 2007-04-11 18:56:44 +00:00
zYne
907156fd02 2007-04-11 18:44:23 +00:00
zYne
b373cb8ef7 fixes #303 2007-04-11 18:37:05 +00:00
zYne
28e937b981 fixes #298 2007-04-11 18:35:15 +00:00
zYne
dcab3087f7 fixes #297 2007-04-11 18:29:27 +00:00
runa
01c93d3e02 bulkdelete delete multikey rows 2007-04-10 17:31:22 +00:00
meus
f402f879b2 Added support for fetching a subclass when querying the baseclass if the
inheritance mapping is met. Added tests for this and included tests. Wrote
documentation.
2007-04-08 14:55:14 +00:00
zYne
1af2164b19 fixes #296 2007-04-03 21:28:06 +00:00
zYne
b47381df1c 2007-04-03 21:19:24 +00:00
zYne
4676d8f4bb 2007-04-03 18:08:50 +00:00
zYne
37bb2d3a7a 2007-04-03 17:41:02 +00:00
zYne
47daaa9cfa Algorithm for creating the tables in correct order 2007-04-03 17:36:46 +00:00
zYne
b1a3eed4e9 2007-04-02 16:54:46 +00:00
zYne
4f505c6b16 2007-04-02 16:50:35 +00:00
zYne
732bc89a89 fixes #300 2007-03-31 19:49:23 +00:00
zYne
b117b468dd fixed mysql foreign key issue 2007-03-27 23:00:07 +00:00
zYne
0770450d5b fixed autoinc field handling for unsigned attribute 2007-03-27 19:38:34 +00:00
zYne
1104ae7017 primary keys now unsigned by default, primary keys no longer used as foreign keys 2007-03-26 20:58:26 +00:00
zYne
4865602ee7 2007-03-26 20:52:34 +00:00
zYne
73942e7ec7 Check constraint parser added 2007-03-23 20:25:56 +00:00
zYne
cd78c4f600 2007-03-23 16:45:24 +00:00
zYne
ef7f3c2bf1 fixes #293 2007-03-23 16:31:35 +00:00
zYne
3c3408a99a 2007-03-23 16:29:58 +00:00
zYne
759c23f490 first draft for sqlite cascading delete emulation with triggers 2007-03-22 13:32:43 +00:00
zYne
306dd80312 sqlite foreign key support 2007-03-22 12:47:37 +00:00
zYne
8428338c21 2007-03-21 23:09:39 +00:00
zYne
f7a7472cae Foreign key exporting added 2007-03-21 22:11:18 +00:00
gnat
1fbb8b6c08 unitialized or typo variables 2007-03-20 23:22:51 +00:00
gnat
04d0993a35 fixed two typos/non-existent variables. 2007-03-20 23:15:51 +00:00
zYne
e592d77f14 2007-03-18 20:00:45 +00:00
zYne
8bb4d38ee0 2007-03-18 18:38:49 +00:00
zYne
0040261fb8 fixes #290 2007-03-18 18:38:00 +00:00
zYne
24abb16c75 2007-03-16 22:17:32 +00:00
zYne
a9817a03d5 new methods: addSelect() and addHaving() 2007-03-16 22:05:36 +00:00
cpowers
e65f623aea Added validator for unsigned data types
Ticket: 288
2007-03-16 19:19:30 +00:00
zYne
b254399733 fixes #286 2007-03-14 19:57:38 +00:00
zYne
7cb5143eb8 little draft for introducing DI into Doctrine 2007-03-09 13:58:22 +00:00
slickrick
fdf9db4020 * Added varchar default type parser 2007-03-08 23:22:59 +00:00
subzero2000
9143270e06 fixes #281 2007-03-07 23:08:17 +00:00
zYne
13cd323717 2007-03-07 10:57:40 +00:00
zYne
41347bf2be added Frontbase export driver 2007-03-07 10:55:35 +00:00
zYne
eb55ec4a5f ported guid() from MDB2 2007-03-07 10:38:45 +00:00
zYne
e68b193c0a ported listTableViews and listViews from MDB2 cvs 2007-03-07 09:59:44 +00:00
zYne
8bc6813100 fixed DQL DELETE handling for mysql 2007-03-02 22:13:05 +00:00
zYne
1da5baee10 2007-03-02 20:47:17 +00:00
zYne
fecce947ed fixed the handling of hooked parameters 2007-03-02 18:47:46 +00:00
gyim
84acea5d9a fixed saving records using multiple connections 2007-03-02 09:23:24 +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
80093d7f76 fixes #278 2007-02-27 22:54:27 +00:00
zYne
cea5cf384b added now() support for pgsql driver 2007-02-18 20:50:50 +00:00
zYne
82dbb99386 updated oracle import driver 2007-02-17 18:40:22 +00:00
zYne
7fdb9509f0 2007-02-17 18:35:24 +00:00
zYne
5317ae2227 2007-02-17 18:21:26 +00:00
zYne
b4099e45aa varchar max length fix 2007-02-17 18:18:44 +00:00
zYne
81a8f3d545 2007-02-17 18:14:32 +00:00
zYne
a2046460b5 Relation model rewrite, draft 2 2007-02-17 12:38:02 +00:00
romanb
d121a4cf2c Fixed #273
Ticket: 273
2007-02-17 10:00:04 +00:00
zYne
180d435e3d Relation model rewrite, first draft 2007-02-16 22:54:59 +00:00
zYne
a4167f8de8 little bug fix 2007-02-16 19:54:41 +00:00
zYne
008de1024d 2007-02-16 19:16:00 +00:00
zYne
eebe47f0fa 2007-02-15 13:30:05 +00:00
zYne
4a020a90fe 2007-02-15 11:41:00 +00:00
zYne
ee8c1a0a6d boolean parsing updated 2007-02-15 11:38:26 +00:00
zYne
e80b339d7f boolean value parsing added 2007-02-15 11:36:43 +00:00
zYne
f4553f800f 2007-02-15 11:23:02 +00:00
zYne
0b3a3c38b3 Index support added! 2007-02-11 22:53:35 +00:00
zYne
5744f045da updated doc blocks 2007-02-11 08:46:29 +00:00
zYne
89a36ca905 2007-02-11 08:42:13 +00:00
zYne
63de17fe4f 2007-02-11 00:53:44 +00:00
zYne
81a21344bd 2007-02-10 21:51:53 +00:00
zYne
a92d8d7cec 2007-02-10 21:07:47 +00:00
zYne
d4fa4640cb updated index handling 2007-02-10 20:48:11 +00:00
romanb
93a737b4e1 Added missing multiple root support for Doctrine_Node_NestedSet::getParent() 2007-02-10 18:07:05 +00:00
romanb
18cf2887cf Added missing multiple root support for Doctrine_Node_NestedSet::getFirstChild() and
Doctrine_Node_NestedSet::getLastChild()
2007-02-10 17:58:29 +00:00
romanb
a0def4808f Added missing multiple root support to Doctrine_Node_NestedSet::getNextSibling()
and Doctrine_Node_NestedSet::getPrevSibling()
2007-02-10 17:51:42 +00:00
romanb
e006ebb056 Added missing multiple root support to Doctrine_Node_NestedSet::getAncestors(). 2007-02-10 17:32:26 +00:00
zYne
ec6fc6881c 2007-02-10 14:48:23 +00:00
zYne
653b42c2b3 2007-02-10 14:41:52 +00:00
zYne
eef58aff4b unique index support added 2007-02-10 14:41:24 +00:00
zYne
855ee3a8e3 2007-02-10 14:41:11 +00:00
zYne
89fa42e840 added index() 2007-02-10 14:22:15 +00:00
zYne
31624bce5f support for unique constraint 2007-02-10 14:22:02 +00:00
romanb
3d8ff310c1 Removed an echo statement of an undefined variable. Possibly a remainder of some debug output. 2007-02-10 14:18:30 +00:00
zYne
99edf66af4 2007-02-10 14:10:51 +00:00
zYne
be5750aee8 2007-02-10 12:35:47 +00:00
zYne
e9d7274fc2 updated import builder 2007-02-10 11:02:52 +00:00
zYne
8703d6e913 2007-02-10 11:02:29 +00:00
zYne
c25911712b 2007-02-10 11:01:04 +00:00
zYne
54239c7f10 better listColumns handling 2007-02-10 10:59:55 +00:00
zYne
9471145115 better listColumns handling 2007-02-10 10:59:34 +00:00
pookey
862b7cdfaf possible improvements to Cache class 2007-02-09 23:39:01 +00:00
pookey
8844515ffc fixing error in my previous commit 2007-02-09 23:20:18 +00:00
zYne
e1e97313a2 2007-02-09 23:16:47 +00:00
pookey
160bae1aa3 tiny optimisation, and fix for handling of _data private member variable 2007-02-09 23:16:08 +00:00
pookey
c43d470ac0 fixing var name 2007-02-09 22:58:19 +00:00
zYne
2c306fdce0 2007-02-09 22:43:38 +00:00
romanb
ee2c5f6231 Fixed a bug in Doctrine_Node_NestedSet::getRootValue() and setRootValue(). They were still using underscore property names (roo_column_name, ...). 2007-02-09 22:15:04 +00:00
zYne
2922c9aff6 caching docs 2007-02-09 20:56:04 +00:00
zYne
b3ad23bbd1 cache implementation continues 2007-02-09 20:02:49 +00:00
zYne
52a5ec1704 2007-02-08 22:31:54 +00:00
zYne
21e22ba908 2007-02-08 22:23:47 +00:00
zYne
3ab8a56e39 2007-02-08 22:19:17 +00:00
zYne
badc58d746 comments added 2007-02-08 22:11:18 +00:00
zYne
3c699f66a9 2007-02-08 22:07:11 +00:00
zYne
6f4c3c20c7 2007-02-08 22:06:03 +00:00
zYne
880422ca88 2007-02-08 21:31:20 +00:00
zYne
35a760aadc 2007-02-08 21:29:06 +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
joesimms
2662410495 fixed bug to always parse tree options as array 2007-02-08 13:39:27 +00:00
zYne
e49ebe57d8 added Column class 2007-02-08 13:13:27 +00:00
joesimms
02efd7f73b refactoring for tree implementation 2007-02-08 12:53:32 +00:00
zYne
8eabed57d6 tree handling added 2007-02-07 23:10:41 +00:00
zYne
43369bb48f 2007-02-07 22:54:03 +00:00
runa
2e6e9d6df8 array was not initalized 2007-02-07 16:31:28 +00:00
zYne
dc73de10b3 2007-02-07 16:04:50 +00:00
zYne
ddb45098c0 little fix 2007-02-07 15:13:43 +00:00
zYne
0b8d297cb9 2007-02-07 14:23:30 +00:00
zYne
2b06f512d2 added support for random() 2007-02-07 14:22:45 +00:00
zYne
5e4d1c3fdf added ORDER BY RANDOM() 2007-02-07 14:16:07 +00:00
fabien
70f72d9d3d fixed Compiler classes order and removed old classes from compilation list 2007-02-07 13:15:32 +00:00
fabien
f127b3711d fixed typo 2007-02-07 13:11:05 +00:00
fabien
eeedb43c4c fixed a typo 2007-02-07 13:09:12 +00:00
zYne
4ff6164651 2007-02-06 20:49:28 +00:00
zYne
66e65570b4 2007-02-06 20:45:51 +00:00
zYne
7823e9e67e Refactored the eventlistener chain 2007-02-06 19:15:32 +00:00
zYne
c2b37f0e53 2007-02-06 19:07:31 +00:00
zYne
9828081533 Error checking for naming collisions 2007-02-06 19:06:17 +00:00
zYne
d3b6acfff0 2007-02-06 19:05:03 +00:00
pookey
6f4b4e0e01 removing exception when trying to call connection twice 2007-02-05 14:13:13 +00:00
zYne
a7d1bc5633 Cache implementation continues 2007-02-05 12:04:56 +00:00
zYne
10a6a5fc17 2007-02-04 22:37:48 +00:00
zYne
c38137d551 int alias added 2007-02-04 22:34:44 +00:00
zYne
f2e19fd9fa added 'int' as an alias for 'integer' 2007-02-04 22:31:55 +00:00
zYne
1132282fee Doctrine_Db_Statement no longer depends on PDOStatement 2007-02-01 22:46:59 +00:00
zYne
d777d36500 2007-02-01 11:39:59 +00:00
zYne
635158e533 2007-02-01 09:58:53 +00:00
zYne
3f9ffc2836 some mocks added for testing purposes 2007-02-01 09:58:15 +00:00
zYne
e2cb1585f6 db eventlisteners updated 2007-02-01 08:57:56 +00:00
zYne
5b594a5468 some methods added 2007-01-31 23:00:43 +00:00
zYne
42c7dd6fa3 2007-01-31 22:51:26 +00:00
zYne
dd76905065 cache array driver added for testing purposes 2007-01-31 22:11:36 +00:00
zYne
3b3b4e4c18 added cache exception class 2007-01-31 21:51:40 +00:00
zYne
80d7327b5b 2007-01-29 21:24:18 +00:00
zYne
4319d095f6 little sequence handling fix 2007-01-29 20:10:51 +00:00
zYne
360c8ea207 2007-01-29 20:02:50 +00:00
zYne
302405de6d little fix for pgsql sequence handling 2007-01-29 19:58:00 +00:00
pookey
9a45b64391 fixing getEnumValues() 2007-01-29 14:44:27 +00:00
zYne
b7cac8cb4e added cache core 2007-01-29 13:13:43 +00:00
zYne
278bafbc93 2007-01-28 23:55:30 +00:00
zYne
13783ed267 2007-01-28 22:59:47 +00:00
zYne
80a39d895f added APC caching driver 2007-01-28 22:54:53 +00:00
zYne
c18c6998eb 2007-01-28 22:49:30 +00:00
zYne
503511e5e3 2007-01-28 22:37:54 +00:00
zYne
03be159c4b added memcache cache driver 2007-01-28 22:31:18 +00:00
zYne
58de562ac6 added cache interface 2007-01-28 22:16:26 +00:00
chtito
1bdd4ba7ca allowing to log the parameters of prepared queries 2007-01-27 12:40:51 +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
gnat
511a961d53 Fixed variable name typos 2007-01-27 00:07:59 +00:00
gnat
3328d09048 Variable name typo 2007-01-26 19:36:01 +00:00
zYne
e4ad2f70ae 2007-01-25 23:05:26 +00:00
zYne
9d5640040d 2007-01-25 23:03:24 +00:00
zYne
71475eb911 removed futile exception classes 2007-01-25 23:01:06 +00:00
zYne
3114ebd821 Removed futile datadict exception classes 2007-01-25 22:43:04 +00:00
zYne
3e4f3625e5 removed futile exception classes 2007-01-25 22:38:15 +00:00
zYne
9e6ea208f2 updated export drivers + removed unnecessary exceptions 2007-01-25 22:36:43 +00:00
zYne
b6575631b3 added tests for mssql import driver 2007-01-25 22:27:20 +00:00
zYne
cdddf75112 added contains 2007-01-25 21:40:40 +00:00
zYne
fb26e0a19e constraint exporting added 2007-01-25 11:37:46 +00:00
zYne
c88d183e1f 2007-01-25 11:02:00 +00:00
zYne
b7ab722920 2007-01-24 22:50:49 +00:00
zYne
7e1c763d5a fixed pgsql import driver 2007-01-24 22:12:34 +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
8a1766e964 fixed ATTR_COLL_KEY handling 2007-01-21 22:26:38 +00:00
zYne
ffa7ff54a8 Fixed pgsql and sqlite sequence handlers and test cases 2007-01-21 22:10:45 +00:00
zYne
1eb8b54d81 lots of refactorings 2007-01-21 18:31:51 +00:00
chtito
b4bf33fc8c right sql date format setting 2007-01-20 11:51:32 +00:00
chtito
d1c45859c6 added a setDateFormat method (primarily intended for the Oracle connection) 2007-01-20 11:44:41 +00:00
romanb
cb924af310 - Added Doctrine_Record::trySave()
- Modified the length validation to skip validation for integer fields. The length of integer fields represents the number of bytes and is used for table creation (4 = INT, ect.)
2007-01-19 20:47:24 +00:00