activerecord-jdbc-adapter
activerecord-jdbc-adapter copied to clipboard
return mri-like results from execute (mysql2, pg, sqlite3)
ActiveRecord::Base.connection.execute 'SELECT ...' returns :
#<Mysql2::Result:0x000000036e06d8> ( first is the row itself: ["abcxyz"] )
while ArJdbc returns a Hash for each row: [{"title"=>"abcxyz"}]
same with PostgreSQL's PG::Result returned from execute