lib/baza/drivers/sqlite3/result.rb in baza-0.0.18 vs lib/baza/drivers/sqlite3/result.rb in baza-0.0.19
- old
+ new
@@ -10,10 +10,10 @@
@types = statement.types if @type_translation == true
@columns = statement.columns.map { |column| column.to_sym }
read_results
@index = -1
ensure
- @statement.try(:close)
+ @statement.close
end
end
# Returns a single result.
def fetch