The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Teng::Plugin::SingleBySQL - (DEPRECATED) Single by SQL

PROVIDED METHODS

$row = $teng->single_by_sql($sql, [\%bind_values, [$table_name]])

get one record from your SQL.

    my $row = $teng->single_by_sql(q{SELECT id,name FROM user WHERE id = ? LIMIT 1}, [1], 'user');