Teng::ResultSet - base class of ResultSet
my $rs = $db->resultset('TableName'); $rs = $rs->search({id, {'>', 10}); while (my $row = $rs->next) { ... } my $row = $rs->single; $rs->delete;
Teng::ResultSet is base class of each ResultSet.
Don't use this class directory, use via $db->resultset($rs_name) instead.
$db->resultset($rs_name)
THE SOFTWARE IS ALPHA QUALITY. API MAY CHANGE WITHOUT NOTICE.
search
Returns ResultSet object in scalar context and returns array of row object in array context.
next
all
count
insert
delete
single
Copyright (C) Songmu.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Songmu <y.songmu@gmail.com>
To install Teng::Plugin::ResultSet, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Teng::Plugin::ResultSet
CPAN shell
perl -MCPAN -e shell install Teng::Plugin::ResultSet
For more information on module installation, please visit the detailed CPAN module installation guide.