class SQLite3::Database

def get_first_row(sql, *bind_vars)

See also #get_first_value.

discarding all others. It is otherwise identical to #execute.
A convenience method for obtaining the first row of a result set, and
def get_first_row(sql, *bind_vars)
  execute(sql, *bind_vars).first
end