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! -- Posted via http://www.ruby-forum.com/.
Apparently Analagous Threads
- How to get database adapter type programmatically in rails?
- ActiveRecord & Prepared Statement
- Can't use models in migrations
- Prepared statements and postgreSQL schemas
- [0x721427d8@gmail.com: [php<=5.4.3] Parsing Bug in PHP PDO prepared statements may lead to access violation]