From: Jamis Buck Date: 2005-02-16T00:44:40+09:00 Subject: [ANN] SQLite3/Ruby 1.1.0 The "Og" release! http://rubyforge.org/projects/sqlite-ruby http://sqlite-ruby.rubyforge.org/sqlite3 http://docs.jamisbuck.org/read/book/3 This version supports a new Database#query method to make it easier to do external row-by-row iteration of result sets: result = db.query( "select name, gender from person" ) puts "%30 %10" % result.columns while row = result.next puts "%30 %10" % row end result.close Of course, you can do it with a block and have the result set implicitly closed, as well. Other fixes/changes: * Solaris is now supported by the DL driver. * Added three missing exception classes * Exceptions now have a 'code' attribute for querying the numeric error value. * If the 'Native' driver is not found, opening a second database resulted in a NameError. Enjoy! -- Jamis Buck jamis_buck@byu.edu http://jamis.jamisbuck.org ------------------------------ "I am Victor of Borge. You will be assimil-nine-ed."