Class::DBI::Plugin::Type - Determine type information for columns
package Music::Artist; use base 'Class::DBI'; use Class::DBI::Plugin::Type; Music::Artist->table('artist'); Music::Artist->columns(All => qw/artistid name/); print Music::Artist->column_type("artistid"); # integer
This module allows Class::DBI-based classes to query their columns for data type information in a database-independent manner.
Class::DBI
Class::DBI::AsForm
Simon Cozens, <simon@cpan.org>
Copyright 2004 by Simon Cozens
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
This module was generously sponsored by the Perl Foundation.
To install Class::DBI::Plugin::Type, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Class::DBI::Plugin::Type
CPAN shell
perl -MCPAN -e shell install Class::DBI::Plugin::Type
For more information on module installation, please visit the detailed CPAN module installation guide.