---
name: "Class::DBI::Plugin::Type"
section: "3pm"
platform: "linux"
package: "libclass-dbi-plugin-type-perl"
version: "0.02-11"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Class::DBI::Plugin::Type"
---

# Class::DBI::Plugin::Type(3pm)

Determine type information for columns

## NAME

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

## SYNOPSIS

```
  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

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

## SEE ALSO

Class::DBI::AsForm

## AUTHOR

Simon Cozens, \<simon@cpan.org\>

## COPYRIGHT AND LICENSE

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.
