|
From: Andreas S. <an...@an...> - 2004-04-11 18:11:28
|
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
|