Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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 chanting in the Monastery: (5)
As of 2021-04-21 21:45 GMT
Find Nodes?
    Voting Booth?

    No recent polls found