Group
Extension

Matches 1

DBIx-Class-Events ( G/GS/GSG/DBIx-Class-Events-v0.9.3.tar.gz, GSG, 2024; MetaCPAN )
DBIx-Class-Events/lib/DBIx/Class/Events.pm ( view source; MetaCPAN )
lts>.

    package MyApp::Schema::Result::ArtistEvent;

    use warnings;
    use strict;
    use JSON;

    use base qw( DBIx::Class::Core );

    __PACKAGE__->load_components(qw/ InflateColumn::Date
not have to be JSON, just be able to serialize a hashref.
    {
        my $json = JSON->new->utf8;
        __PACKAGE__->inflate_column( 'details' => {
            inflate => sub { $json->decode(shift
) },
            deflate => sub { $json->encode(shift) },
        } );
    }

This L<C<belongs_to>|DBIx::Class::Relationship/belongs_to>
relationship is optional,
and the examples and tests assume if 

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.