Ruby/Informix 0.8.0 发布了,该版本兼容 Ruby 1.9.3。
Ruby/Informix 是 Informix 数据库的 Ruby 语言驱动程序。
示例代码:
db = Informix.connect('stores')
cur = db.cursor('select * from stock')
cur.open
records = cur.fetch_all
cur.drop # or close, if you want to reopen it later
stmt = db.prepare('insert into state values(?, ?)')
stmt.execute('CA', 'California')
stmt.call('NM', 'New Mexico')
stmt['TX', 'Texas']
Ruby/Informix下载地址请点这里
