1
0
mirror of synced 2024-12-13 22:56:04 +03:00
Commit Graph

169 Commits

Author SHA1 Message Date
zYne
7e2669d1bd fixes #624 2007-11-28 23:06:04 +00:00
zYne
f8a0eb2e25 fixes #624 2007-11-28 22:13:12 +00:00
romanb
05147fbeb6 Completed implementation of the query cache. 2007-11-25 19:07:30 +00:00
romanb
78f5a2edcb More refactorings. Commented out the plugin tests for now. They seem to wreak havoc with a lot of other tests (especially validator tests) and i havent found the reason yet. 2007-11-24 18:11:09 +00:00
romanb
d645b1659c More refactorings 2007-11-19 17:55:23 +00:00
meus
d5cc06e7b8 some small refactorings. adding docblocks. creating guard clauses. refactor our some code into methods. no aditional test failures so it looks ok. also added some @todo comments 2007-11-18 20:37:44 +00:00
romanb
cfc7d4e423 Refactoring. Started to introduced a clear separation between column names and field names (aka column aliases).\nDoctrine_Connection, DQL Parser classes/methods map field names => column names.\nDoctrine_Hydrate maps column names => field names during hydration.\nColumn names are only stored in Doctrine_Table:: and Doctrine_Table::.\nRelations use column names in 'local'/'foreign'.\nWhen using field names (column aliases) you need to use the column names in 'local'/'foreign' when setting up a relation (hasOne/hasMany), not the field names.\n\n In other words column names are only used to communicate with the database. field names are used everywhere else. the casing of field names does not matter. column names are forced to lower case for portability. If you dont use field names (column aliases) your column names are your field names (and therefore all lowercase). 2007-11-18 16:06:37 +00:00
zYne
bd31958035 drafting the initial CTI support 2007-11-10 13:21:40 +00:00
zYne
8f11427595 added Doctrine_Connection::delete() method (needed as a convenience method as well as for the upcoming CTI support) 2007-11-10 10:37:10 +00:00
zYne
a8d9830dda added update() method, needed for various things but especially for the CTI implementation 2007-11-10 00:57:13 +00:00
gnat
0695a6ab92 $this->parent doesn't exist 2007-10-30 17:51:33 +00:00
Jonathan.Wage
6334c5a165 Reversing fix. 2007-10-25 16:02:00 +00:00
Jonathan.Wage
ab597cdf30 Fixes [ticket:500] 2007-10-25 14:18:26 +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
Jonathan.Wage
e2a204e0dc Enhancing CLI. New commands and cleaning up. 2007-10-20 19:14:30 +00:00
zYne
ead84035f8 2007-10-15 22:01:04 +00:00
zYne
d6ef2b3f4e removed deprecated attribute from getTable() 2007-10-15 20:56:23 +00:00
zYne
7d7313ab4a 2007-10-13 17:06:26 +00:00
zYne
c69c0c5d53 support for persistent connections, fixes #447 2007-10-08 23:22:31 +00:00
zYne
dc4d96e92f 2007-10-07 22:21:01 +00:00
Jonathan.Wage
0a6f216efa Lots of formatting changes, cleanup, doc block changes. 2007-10-03 21:43:22 +00:00
meus
f3a377a794 replace tabs with 4 spaces. and fix other coding style related stuff 2007-09-03 14:57:18 +00:00
jackbravo
9b5246368e Added FETCH_ARRAY support for table finder methods, fixes bug #397 2007-09-01 19:44:38 +00:00
zYne
3fe5b807a1 2007-09-01 17:35:44 +00:00
zYne
07c5c92e73 deletes are no longer stacked in the end of transaction, now transactional integrity is always assured 2007-09-01 17:28:11 +00:00
zYne
4fc6efd82f fixes #440 2007-08-29 21:57:46 +00:00
jackbravo
777539fbf3 Fixed bug on columns not being quoted on INSERT statements, reported by email by Gavin Mogan 2007-08-25 00:34:25 +00:00
jackbravo
7fc767794e Amend: this was not yet to be commited 2007-08-24 22:00:05 +00:00
jackbravo
17913f5860 Clearer fix for nesting level too deep bug, use in_array with strict flag (use === instead of ==) 2007-08-24 21:43:50 +00:00
Jonathan.Wage
b4600960fd Changed imprt back to import as variable names are not affected by change to php 2007-08-16 21:54:14 +00:00
nicobn
a062835e43 'import' is a reserved word in PHP 6. Changed all method names / properties name from import to imprt. This means the documentation will need to be changed 2007-08-15 14:49:00 +00:00
jackbravo
391bdc88a1 set isConnected to false when the connection is closed 2007-08-09 22:26:57 +00:00
meus
c9d6a046fa fixing issue mention on the mailing list by tl@hdnet.de at 2.aug 2007-08-02 19:28:46 +00:00
zYne
3502fd9299 identifier quoting fix 2007-07-12 22:31:16 +00:00
zYne
c1511dd391 2007-07-11 22:03:47 +00:00
zYne
cc7b1367fa support for expressional column values 2007-07-01 11:27:45 +00:00
subzero2000
d4bc0d3637 Ensure usage of Doctrine_Connection_Statement rather than PDOStatement in Doctrine_Connection::execute(). Fixes #365 2007-06-26 22:29:31 +00:00
zYne
8b8ae07e00 2007-06-26 12:08:50 +00:00
zYne
f86ac4c8e2 getDbh() now auto-connects 2007-06-25 19:56:15 +00:00
zYne
fb46481ab2 added namespaces for event constants 2007-06-25 17:24:20 +00:00
zYne
e1fbae22a4 EventListener method names updated 2007-06-25 10:08:03 +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
c5291aedd7 2007-06-15 11:56:55 +00:00
zYne
d72c9a23cd fixes #345 2007-06-14 21:50:12 +00:00
zYne
8007b32ca0 drafting Doctrine_Db functionality into connection class 2007-06-12 19:39:03 +00:00
zYne
8ee01ce3b2 2007-06-11 23:37:24 +00:00
zYne
8eef3f44c4 updated doc blocks, added savepoint as optional transaction parameter 2007-06-11 23:25:46 +00:00
zYne
2a99edae06 2007-06-05 22:37:38 +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
fa11260e75 2007-05-27 18:56:04 +00:00
zYne
525e7d74a1 2007-05-24 16:53:51 +00:00
zYne
8c54e8d736 fixed delete state handling 2007-05-23 20:41:03 +00:00
zYne
f2484d1726 2007-05-22 21:05:52 +00:00
zYne
f6bb8c9726 2007-05-22 18:09:54 +00:00
zYne
99037abdad 2007-05-22 17:42:47 +00:00
zYne
10312db4eb fixed boolean conversion 2007-05-19 22:40:46 +00:00
zYne
33bb25ac20 2007-05-16 22:22:54 +00:00
zYne
2291272ebf 2007-05-16 21:47:23 +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
c5eb26c3ba identifier quoting fix 2007-04-18 09:47:02 +00:00
zYne
9e35c9029b 2007-04-17 17:41:51 +00:00
zYne
47daaa9cfa Algorithm for creating the tables in correct order 2007-04-03 17:36:46 +00:00
zYne
f7a7472cae Foreign key exporting added 2007-03-21 22:11:18 +00:00
zYne
b4099e45aa varchar max length fix 2007-02-17 18:18:44 +00:00
zYne
a2046460b5 Relation model rewrite, draft 2 2007-02-17 12:38:02 +00:00
zYne
180d435e3d Relation model rewrite, first draft 2007-02-16 22:54:59 +00:00
zYne
f4553f800f 2007-02-15 11:23:02 +00:00
zYne
63de17fe4f 2007-02-11 00:53:44 +00:00
zYne
81a21344bd 2007-02-10 21:51:53 +00:00
fabien
f127b3711d fixed typo 2007-02-07 13:11:05 +00:00
zYne
4319d095f6 little sequence handling fix 2007-01-29 20:10:51 +00:00
zYne
b7ab722920 2007-01-24 22:50:49 +00:00
zYne
1eb8b54d81 lots of refactorings 2007-01-21 18:31:51 +00:00
chtito
d1c45859c6 added a setDateFormat method (primarily intended for the Oracle connection) 2007-01-20 11:44:41 +00:00
zYne
7131ab9e95 2007-01-15 18:48:50 +00:00
zYne
4928dfef8c 2007-01-08 00:13:41 +00:00
lsmith
78ce54a7e5 - added colnum parameter to fetchOne and fetchColumn
- use fetchColumn() in fetchOne()
- removed PORTABILITY_FIX_CASE handling in fetchColumn() since this can be handled by PDO internally
2007-01-07 14:52:16 +00:00
lsmith
260558e032 - make more use of Doctrine internal methods 2007-01-05 22:04:24 +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
8110cf8e89 Mysql string > 255 now converts to TEXT type 2006-12-29 13:45:41 +00:00
zYne
61c906266b Modified exception classes, new method for connection exceptions getPortableCode(), refactored some classes 2006-12-27 21:35:32 +00:00
zYne
7b48189ba5 new DQL aggregate value model 2006-12-21 22:06:08 +00:00
chtito
7a35e676a9 implements setCharset for mysql, no exception if setCharset is not implemented (fixes #244) 2006-12-06 06:58:24 +00:00
zYne
fcce6bd239 Updated transaction drivers, ORM core now uses the new Export API 2006-12-02 14:40:47 +00:00
zYne
cab5b432a6 Updated transaction drivers 2006-11-30 23:51:44 +00:00
zYne
fe88258168 Updated classes to use new Transaction module 2006-11-29 21:09:02 +00:00
zYne
2241453570 Lots of small fixes, driver improvments and more tests 2006-11-28 23:26:44 +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
5b7089cb86 added implementation for getSequenceName and getIndexName 2006-11-24 20:51:40 +00:00
zYne
b1d5eedb47 Updated test cases 2006-11-23 23:23:24 +00:00
zYne
70e467b7bf Added Doctrine_Adapter, updated many driver classes 2006-11-23 22:54:10 +00:00
zYne
2c3b8bab19 Fixed limit subquery handling on mysql with prepared statements, fixes #231 2006-11-16 21:38:59 +00:00
zYne
caf4185955 Refactored Doctrine_Connection 2006-11-16 13:19:45 +00:00
zYne
d6d7824135 Refactored connection modules, added new methods to Doctrine_Connection 2006-11-16 12:46:23 +00:00
zYne
f8b966366a Ported index/sequence name fixing and common manager functionality from MDB2 2006-11-15 15:19:55 +00:00
zYne
8b5cf30ef8 Updated Pgsql datadict driver, moved transaction isolation functionality to Doctrine_Transaction 2006-11-14 18:21:36 +00:00