Aniki::Row - Row class
my $result = $db->select(foo => { bar => 1 }); for my $row ($result->all) { print $row->id, "\n"; }
This is row class.
$column()
Autoload column name method to $row->get($column).
$row->get($column)
$relay()
Autoload relationship name method to $row->relay($column).
$row->relay($column)
get($column)
Returns column data.
relay($name)
Returns related data. If not yet cached, call relay_fetch.
relay_fetch
relay_fetch($name)
Fetch related data, and returns related data.
get_column($column)
Returns column data without inflate filters.
get_columns()
Returns columns data as hash reference.
refetch()
handler : Aniki
schema : Aniki::Schema
table : Aniki::Schema::Table
filter : Aniki::Filter
table_name : Str
is_new : Bool
row_data : HashRef
relay_data : HashRef
Copyright (C) karupanerura.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
karupanerura <karupa@cpan.org>
To install Aniki, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Aniki
CPAN shell
perl -MCPAN -e shell install Aniki
For more information on module installation, please visit the detailed CPAN module installation guide.