0.43 2011-02-26
0.42 2011-02-26
0.41 2011-02-25
0.40 2011-01-25
0.39 2011-01-25
0.38 2011-01-07
0.37 2010-11-30
0.36 2010-10-22
0.35 2010-10-05
0.34 2010-09-09
0.33 2010-06-04
0.32 2010-03-06
0.31 2010-02-12
0.30 2009-10-25
Now, providing an explicit map means you must provide a mapping for every select clause element you want to pass to an object.
0.29 2009-10-10
0.28 2009-09-15
0.27 2009-08-18
0.26 2009-07-03
0.25 2009-06-21
0.24 2009-04-20
0.23 2009-04-07
0.22 2009-03-23
0.21 2009-02-25
0.20 2009-02-06
0.19 2009-01-18
0.18 2008-12-24
0.17 2008-12-24
0.16 2008-12-23
0.15 2008-12-22
0.14 2008-12-15
0.13 2008-12-08
0.12 2008-11-07
For example, if you had a Contact.note and ContactHistory.note columns and your iterator was returning objects for both tables, then one of the note columns would get passed to the constructor for both tables.
With the changes, Fey::Object::Iterator figures out which item in the returned row belongs to which class positionally, so if two columns have the same name, they are passed to the correct classes.
You can also provide explicit mappings from an item in the result rows to a class's attribute, which is handy if you want to map the results of an arbitrary query to a set of classes. See the Fey::Object::Iterator docs for more details.
0.11 2008-09-20
0.10 2008-09-07
0.09 2008-09-01
0.08 2008-06-27
0.07 2008-06-22
0.06 2008-05-25
0.05 2008-04-18
0.04 2008-03-06
0.03 2008-02-24
0.02 2008-02-21
0.01 2008-02-09