DBIx-Class-EncodeColumns

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

        __PACKAGE__->load_components(qw/EncodeColumns Core/);
        __PACKAGE__->decode_columns('latin-1');
        __PACKAGE__->encode_columns('utf-8');

DESCRIPTION
    This module allows you to handle column encodings

METHODS
  decode_columns($encoding)
    Use this function to set the default encoding of all your columns. The
    data of all columns will be decoded to internal encoding of perl.

  encode_columns($encoding)
    Before returning the data form a column, it will be encoded using this
    encoding type.

EXTENDED METHODS
  get_column
  get_columns
  store_column
AUTHOR

lib/DBIx/Class/EncodeColumns.pm  view on Meta::CPAN


=head1 DESCRIPTION

This module allows you to handle column encodings

=head1 METHODS

=head2 decode_columns($encoding)

Use this function to set the default encoding of all your columns.
The data of all columns will be decoded to internal encoding of perl.

=cut

=head2 encode_columns($encoding)

Before returning the data form a column, it will be encoded using this
encoding type.

=cut



( run in 0.382 second using v1.01-cache-2.11-cpan-5f2e87ce722 )