Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2016-10-24 16:51 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (309 votes). Check out past polls.