++ed by:
KEEDI SHARYANTO PERLANCAR AWNCORP

4 PAUSE users
4 non-PAUSE users.

Laurent Dami
and 1 contributors

NAME

DBIx::DataModel::Meta::Type - registered collection of column handlers

SYNOPSIS

  my $type = DBIx::DataModel::Meta::Type->new(
    schema   => $meta_schema,
    name     => $type_name,
    handlers => {
      $handler_name_1 => sub { ... },
      $handler_name_2 => sub { ... },
      ...
    },
  );

DESCRIPTION

A type is just a hashref of handler names and handler bodies (coderefs). The type can then be applied to some columns in some tables through the "define_column_type" in DBIx::DataModel::Doc::Reference method.