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

9 Commits

Author SHA1 Message Date
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
d08f492656 removing ending ?> and some tabs 2007-09-02 16:56:44 +00:00
zYne
58f6d356e0 renamed Doctrine_Record::obtainIdentifier() to Doctrine_Record::identifier(), fixed identityMap implementation 2007-07-05 23:21:29 +00:00
zYne
d1ad19fdd8 Modified the test structure 2006-12-27 21:20:26 +00:00
zYne
41ee9173f1 method name changes for better custom getter/setter compatibility
Doctrine_Record::getID() -> obtainIdentifier()
Doctrine_Record::setID() -> assignIdentifier()
2006-09-17 17:59:04 +00:00
zYne
871f3c418d DQL enum type support (still not working for prepared queries) 2006-09-13 20:47:29 +00:00
zYne
a0958f7d0e 2006-08-21 23:20:33 +00:00
doctrine
bc3c8c2eb8 Docs updated 2006-08-08 09:07:55 +00:00
doctrine
d1ed73c6d9 Doctrine_Table::find now returns false if record is not found (instead of throwing InvalidKeyException) 2006-06-06 20:37:56 +00:00