1Type(3)               User Contributed Perl Documentation              Type(3)
2
3
4

NAME

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

SYNOPSIS

9         package Music::Artist;
10         use base 'Class::DBI';
11         use Class::DBI::Plugin::Type;
12         Music::Artist->table('artist');
13         Music::Artist->columns(All => qw/artistid name/);
14
15         print Music::Artist->column_type("artistid"); # integer
16

DESCRIPTION

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

SEE ALSO

22       Class::DBI::AsForm
23

AUTHOR

25       Simon Cozens, <simon@cpan.org>
26
28       Copyright 2004 by Simon Cozens
29
30       This library is free software; you can redistribute it and/or modify it
31       under the same terms as Perl itself.
32
33       This module was generously sponsored by the Perl Foundation.
34
35
36
37perl v5.38.0                      2023-07-20                           Type(3)
Impressum