NAME

Teng::ResultSet - base class of ResultSet

SYNOPSIS

my $rs = $db->resultset('TableName');
$rs = $rs->search({id, {'>', 10});
while (my $row = $rs->next) {
    ...
}
my $row = $rs->single;
$rs->delete;

DESCRIPTION

Teng::ResultSet is base class of each ResultSet.

Don't use this class directory, use via $db->resultset($rs_name) instead.

THE SOFTWARE IS ALPHA QUALITY. API MAY CHANGE WITHOUT NOTICE.

METHODS

Returns ResultSet object in scalar context and returns array of row object in array context.

next
all
count
insert
delete
single

LICENSE

Copyright (C) Songmu.

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

AUTHOR

Songmu <y.songmu@gmail.com>