require 'dbi' dbc = DBI.connect('DBI:SQLite:/tmp/test.db') res = dbc.execute("SELECT column AS alias FROM table") puts res.fetch_hash.inspect
Output: {nil=>"1"}
sqlite-ruby alone doesn't have this problem.
Ruby-DBI version: 0.0.21
Log in to post a comment.