Teng::Plugin::SingleBySQL - (DEPRECATED) Single by SQL
$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');
To install Teng, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Teng
CPAN shell
perl -MCPAN -e shell install Teng
For more information on module installation, please visit the detailed CPAN module installation guide.