Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^4: Why did DBIC overtake CDBI?

by perrin (Chancellor)
on Sep 13, 2006 at 12:43 UTC ( #572728=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Why did DBIC overtake CDBI?
in thread Why did DBIC overtake CDBI?

It does some of that, but not all. For example, Class::DBI::mysql lets you do this:

__PACKAGE__->autoinflate(dates => 'Time::Piece');
It can also retrieve the accepted list of values for an ENUM column. Tim Bunce posted some code that went further to add automatic value checking based on column type, but it was never formally released as a module.

These days I would advise people to use one of the newer ORMs instead, but Class::DBI's weaknesses are mostly in the SQL generation area, not in auto-discovery.


Comment on Re^4: Why did DBIC overtake CDBI?
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://572728]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2014-04-17 08:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (441 votes), past polls