NAME

    DBIx::Class::InflateColumn::TimePiece - Auto-create Time::Piece objects
    from integer columns

VERSION

    version 0.02

SYNOPSIS

        package Event;
    
        use base 'DBIx::Class::Core';
    
        __PACKAGE__->load_components(qw/InflateColumn::TimePiece/);
        __PACKAGE__->table('my_events');
        __PACKAGE__->add_columns(
            event_name => {
                data_type => 'varchar',
                size      => 45,
            },
            event_created => {
                data_type          => 'integer',
                inflate_time_piece => 1,
            },
        );
    
        1;

METHODS

 register_column

AUTHOR

    Renee Baecker <reneeb@cpan.org>

COPYRIGHT AND LICENSE

    This software is Copyright (c) 2018 by Renee Baecker.

    This is free software, licensed under:

      The Artistic License 2.0 (GPL Compatible)

