++ed by:
SYSPETE RSRCHBOY KARJALA FAYLAND KEEDI

107 PAUSE users
105 non-PAUSE users.

Peter Rabbitson 🐟‍👂
and 1 contributors

NAME

DBIx::Class::UTF8Columns - Force UTF8 (Unicode) flag on columns

SYNOPSIS

    package Artist;
    use base 'DBIx::Class::Core';

    __PACKAGE__->load_components(qw/UTF8Columns/);
    __PACKAGE__->utf8_columns(qw/name description/);

    # then belows return strings with utf8 flag
    $artist->name;
    $artist->get_column('description');

DESCRIPTION

This module allows you to get columns data that have utf8 (Unicode) flag.

Warning

Note that this module overloads "store_column" in DBIx::Class::Row in a way that may prevent other components overloading the same method from working correctly. This component must be the last one before DBIx::Class::Row (which is provided by DBIx::Class::Core). DBIx::Class will detect such incorrect component order and issue an appropriate warning, advising which components need to be loaded differently.

SEE ALSO

Template::Stash::ForceUTF8, DBIx::Class::UUIDColumns.

METHODS

utf8_columns

EXTENDED METHODS

get_column

get_columns

store_column

AUTHORS

See "CONTRIBUTORS" in DBIx::Class.

LICENSE

You may distribute this code under the same terms as Perl itself.