++ed by:
SHARYANTO KEEDI AWNCORP PERLANCAR

4 PAUSE user(s)
4 non-PAUSE user(s).

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.