class SQLite3::ResultSet

def next_hash

Return the next row as a hash
def next_hash
  row = @stmt.step
  return nil if @stmt.done?
  @stmt.columns.zip(row).to_h
end