The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Teng::Plugin::ResultSet - Teng plugin providing ResultSet

SYNOPSIS

package MyDB;
use parent 'Teng';
__PACKAGE__->load_plugin('ResultSet');

package main;
my $db = MyDB->new(...);
my $rs = $db->resultset('TableName');
$rs = $rs->search({id, {'>', 10});
while (my $row = $rs->next) {
    ...
}

DESCRIPTION

Teng::Plugin::ResultSet is plugin of Teng providing ResultSet class.

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

METHODS

$result_set:Teng::ResultSet = $db->resultset($result_set_name:Str)

SEE ALSO

Teng::ResultSet

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>