使用activerecord-informix-adapter(1.1.1)及其documentation我正在尝试创建一个预准备语句,但会收到错误。
ActiveRecord::StatementInvalid
Informix::DatabaseError: Prepared statement is not a cursor specification:
我的查询如下:
@resource=Client.connection.execute("select * from sample where username=?;",'John')