We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f5f6859 + 13a5e35 commit 74763cbCopy full SHA for 74763cb
lib/sqlite3/resultset.rb
@@ -86,7 +86,7 @@ def next_hash
86
row = @stmt.step
87
return nil if @stmt.done?
88
89
- Hash[*@stmt.columns.zip(row).flatten]
+ @stmt.columns.zip(row).to_h
90
end
91
92
0 commit comments