Forum: Ruby on Rails How to use prepare statement?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
oliver peng (Guest)
on 2006-04-28 00:04
I need to run a large number of row into my database. In order to get
the fast speed, I would like to use prepared statements. But I can not
get the mysql connection handle in ActiveRecord, because the
MysqlAdapter doesn't permit to access the Mysql connection handle. So
how can I get the connection handle or construct a new connection by
using the same configure information?

Thanks!
This topic is locked and can not be replied to.