DBIx::POS::Sth
¡ ¡ ¡ ALL GLORY TO GLORIA ! ! !
NAME
DBIx::POS::Sth - is a DBI statements hub. Works with DBIx::POS::Template in pair.
SYNOPSIS
my $sth = DBIx::POS::Sth->new(
$dbh,
$pos, # SQL dict
foo => 'bar', # any pairs opts
...,
);
my $r = $dbh->selectrow_hashref($sth->sth('foo name'));
DESCRIPTION
Dictionary of DBI statements.
new($dbh, $pos, ...)
$dbh (first in list)
DBI handle
$pos (second in list)
An SQL dictionary object/instance of the DBIx::POS::Template.
<any key=>value pairs>
Used for templates of $pos.