NAME

DBIx::Squirrel::it - Statement iterator iterator base class

SYNOPSIS

DESCRIPTION

This module provides a base class for statement iterators. It is usable as is, but is also subclassed by the DBIx::Squirrel::rs (Results) class.

new

my $it = DBIx::Squirrel::it->new($sth);
my $it = DBIx::Squirrel::it->new($sth, @bind_values);
my $it = DBIx::Squirrel::it->new($sth, @bind_values, @transforms);

Creates a new iterator object.

This method is not intended to be called directly, but rather indirectly via the iterate or results methods of DBIx::Squirrel::st and DBIx::Squirrel::db packages.

AUTHORS

Iain Campbell <cpanic@cpan.org>

COPYRIGHT AND LICENSE

The DBIx::Squirrel module is Copyright (c) 2020-2025 Iain Campbell. All rights reserved.

You may distribute under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl 5.10.0 README file.

SUPPORT / WARRANTY

DBIx::Squirrel is free Open Source software. IT COMES WITHOUT WARRANTY OF ANY KIND.