NAME

Aniki::Result - Result class

SYNOPSIS

my $result = $db->select(foo => { bar => 1 });

DESCRIPTION

This is abstract result class.

Aniki detect the collection class from root result class by table name. Default root result class is MyApp::DB::Collection.

You can use original result class:

package MyApp::DB;
use Mouse;
extends qw/Aniki/;

__PACKAGE__->setup(
    schema => 'MyApp::DB::Schema',
    result => 'MyApp::DB::Collection',
);

ACCESSORS

handler : Aniki
table_name : Str
suppress_row_objects : Bool
row_class : ClassName

LICENSE

Copyright (C) karupanerura.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

karupanerura <karupa@cpan.org>