> r.class
=> NilClass
2.3.0 :068 > r=client.query("select * from test where id=12")
=> # end
{"id"=>1, "name"=>"hello1"}
{"id"=>2, "name"=>"hello2"}
{"id"=>3, "name"=>"hello3"}
{"id"=>4,..."name"=>"hello4"}
{"id"=>5, "name"=>"hello5"}
{"id"=>6, "name"=>"hello6"}
{"id"=>7, "name"=>"hello7"..., "name"=>"hello1"}, {"id"=>2, "name"=>"hello2"}, {"id"=>3, "name"=>"hello3"}, {"id"=>4, "name"=>"hello4...Edition (based on MRI 1.8.7)
Rubinius 2.x, 3.x
这个 gem 已经通过以下版本的 MySQL 和 MariaDB 的测试
MySQL 5.5, 5.6,