Class::DBI::Plugin::Type - Determine type information for columns


Class-DBI-Plugin-Type documentation  | view source Contained in the Class-DBI-Plugin-Type distribution.

Index


NAME

Top

Class::DBI::Plugin::Type - Determine type information for columns

SYNOPSIS

Top

  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

DESCRIPTION

Top

This module allows Class::DBI-based classes to query their columns for data type information in a database-independent manner.

SEE ALSO

Top

Class::DBI::AsForm

AUTHOR

Top

Simon Cozens, <simon@cpan.org>

COPYRIGHT AND LICENSE

Top


Class-DBI-Plugin-Type documentation  | view source Contained in the Class-DBI-Plugin-Type distribution.