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 |
|
meus
|
e360684d1b
|
moved all models to trunk/models. removed some old invalid testcases
|
2007-09-02 14:24:49 +00:00 |
|
zYne
|
5b13dcded9
|
|
2007-06-14 21:40:22 +00:00 |
|
zYne
|
dcc3bd8c7d
|
|
2007-06-05 18:38:00 +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 |
|