[cvs] commit: framework/Rdo Rdo.php framework/Rdo/Rdo Mapper.php Query.php framework/Rdo/Rdo/Query Builder.php
Chuck Hagenbuch
chuck at horde.org
Mon May 21 04:51:22 UTC 2007
chuck 2007-05-21 00:51:22 EDT
Modified files:
Rdo Rdo.php
Rdo/Rdo Mapper.php Query.php
Rdo/Rdo/Query Builder.php
Log:
- use the new Horde_Rdo_Inflector class
- change relationship handling in Horde_Rdo::__get to only handle lazy relationships
- explicitly name all fields loaded by the query. fields in the mapper's lazyFields variable won't be accessed by regular queries
- Handle eager-loaded relationships in Horde_Rdo_Mapper::map and in Horde_Rdo_Query
- generate field aliases for relationship fields to allow identifying them
- allow querying on relationship fields (syntax is relname at fieldname)
- TODO: handle lazy-load fields in Horde_Rdo::__get
- TODO: allow relationships to just take a Horde_Rdo_Query object
- TODO: allow Horde_Rdo_Query objects to just generate the condition list, for plugging in to either JOIN ON or WHERE
- TODO: changelog in package.xml
Revision Changes Path
1.6 +12 -13 framework/Rdo/Rdo.php
1.6 +46 -5 framework/Rdo/Rdo/Mapper.php
1.5 +97 -19 framework/Rdo/Rdo/Query.php
1.5 +38 -8 framework/Rdo/Rdo/Query/Builder.php
Chora Links:
http://cvs.horde.org/diff.php/framework/Rdo/Rdo.php?r1=1.5&r2=1.6&ty=u
http://cvs.horde.org/diff.php/framework/Rdo/Rdo/Mapper.php?r1=1.5&r2=1.6&ty=u
http://cvs.horde.org/diff.php/framework/Rdo/Rdo/Query.php?r1=1.4&r2=1.5&ty=u
http://cvs.horde.org/diff.php/framework/Rdo/Rdo/Query/Builder.php?r1=1.4&r2=1.5&ty=u
More information about the cvs
mailing list