class SQLite3::ResultSet
def next_hash
def next_hash row = @stmt.step return nil if @stmt.done? # FIXME: type translation is deprecated, so this can be removed # in 2.0 row = @db.translate_from_db @stmt.types, row # FIXME: this can be switched to a regular hash in 2.0 row = HashWithTypesAndFields[*@stmt.columns.zip(row).flatten] # FIXME: these methods are deprecated for version 2.0, so we can remove # this code in 2.0 row.fields = @stmt.columns row.types = @stmt.types row end