I've looked around for a CSV adapter, but haven't had any luck.  So I'm 
thinking about writing my own.  Basically, it 
would be a wrapper around FasterCSV.  One issue that is (I think uniquely) 
important with CSV files is the field order. 
  I'm thinking of using a :field_index property option to identify field order. 
 One other option might be to use the 
order of property declaration to determine field order.  I'm also considering a 
:field_name option to identify the field 
name in the header row, if any.  Does anyone have any thoughts on these items 
or general thoughts about what a CSV 
adapter ought to look like/do?

If anyone has done any work in this area, pointers are welcome.

Earle

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to