Aniki::Result::Collection - Rows as a collection
my $result = $db->select(foo => { bar => 1 }); for my $row ($result->all) { print $row->id, "\n"; }
This is collection result class.
rows()
Returns rows as array reference.
count()
Returns rows count.
first()
Returns first row.
last()
Returns last row.
all()
Returns rows as array.
handler : Aniki
table_name : Str
suppress_row_objects : Bool
row_class : ClassName
row_datas : ArrayRef[HashRef]
inflated_rows : ArrayRef[Aniki::Row]
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.