1
0
mirror of synced 2024-12-15 15:46:02 +03:00
Commit Graph

27 Commits

Author SHA1 Message Date
romanb
ba9e4676fa 2007-11-19 10:00: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
a01ed0641f fast identifier search for Doctrine_Hydrate, now the hydration should run in O(1) instead of O(n) 2007-10-22 16:38:03 +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
e79f1c34cf small improvement to Doctrine_Hydrate_Array::search() 2007-10-13 20:46:45 +00:00
zYne
43811d2cc6 updated all the necessary classes to use injectable 2007-10-07 20:58:08 +00:00
Jonathan.Wage
0a6f216efa Lots of formatting changes, cleanup, doc block changes. 2007-10-03 21:43:22 +00:00
jackbravo
c3b9837c12 Fix bug #428, clearing object relations before adding new ones in a query 2007-09-04 01:23:02 +00:00
meus
f3a377a794 replace tabs with 4 spaces. and fix other coding style related stuff 2007-09-03 14:57:18 +00:00
gnat
25554aa0f7 fixed a problem with undefined array keys when fetching in array mode with multi level joins 2007-08-21 14:59:04 +00:00
meus
eca9f79dc8 removed array_unique in Hydrate/Record and added test to run.php fixes #403 2007-07-21 16:35:04 +00:00
zYne
59be22b329 2007-07-16 19:19:29 +00:00
zYne
a00c6061ab One-to-one relation fetching fixed 2007-06-07 17:04:56 +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
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
b969552cc2 2007-05-29 18:59:14 +00:00
zYne
e448bcb889 2007-05-29 17:36:15 +00:00
zYne
df773520d6 2007-05-24 17:40:54 +00:00
zYne
5d4b8c45e6 Unified abstract class for RawSql and Query components 2007-05-19 18:06:42 +00:00
zYne
4e888855d1 2007-05-19 17:29:43 +00:00
zYne
f26217c87a DQL core refactored 2007-05-16 19:20:55 +00:00
zYne
f99e3dd476 added Doctrine_Hydrate_Exception 2007-05-10 21:31:09 +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
161b9125e1 added missing class Doctrine_Hydrate_Alias, refactored query and hydrate classes 2006-11-27 22:39:18 +00:00