NAME

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

PROVIDED METHODS

$row = $teng->single_by_sqle($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');