Mojolicious::Plugin::RoutesAuthDBI::Sth

¡ ¡ ¡ ALL GLORY TO GLORIA ! ! !

NAME

Mojolicious::Plugin::RoutesAuthDBI::Sth - is a DBI statements hub for Mojolicious::Plugin::RoutesAuthDBI classes.

SYNOPSIS

my $sth = Mojolicious::Plugin::RoutesAuthDBI::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 parses from POS-file.

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>

SEE ALSO

Mojolicious::Plugin::RoutesAuthDBI::POS::Pg

DBIx::POS::Template