Keep It Simple, Stupid | |
PerlMonks |
Re^6: What do people want from DB abstraction modules?by techcode (Hermit) |
on Jan 05, 2006 at 18:46 UTC ( [id://521312]=note: print w/replies, xml ) | Need Help?? |
Yes date/time fields are nightmare. I agree.
Latter mentioned Rose::DB has code that translates from Perl format to DB in use format and the other way around. I'm planing to support that but still not sure how to implement it. Do it automatically on read/write (behind the scenes) by figuring out if field is date/time - or perhaps export a function (or call as $DB->dt_format($value_here);) for that so it's done manually? In case of writing (UPDATE/INSERT) it's not a (performance) problem to do the conversion in Perl, but it would be stupid to loop through all the results just to format the date/time fields. So I guess it should be implemented in SQL itself?
Have you tried freelancing? Check out Scriptlance - I work there.
In Section
Seekers of Perl Wisdom
|
|