【发布时间】:2015-05-31 21:59:59
【问题描述】:
这个在mysql2中的等效语句是什么
result = MYSQL.query('SELECT cache_amount_with_discount_and_tax FROM t_payment WHERE organization_id = 1 AND receipt_id = '+param['receipt_id'].to_s).data_seek(3).fetch_hash
// where MYSQL is the original MYSQL client
我是 ruby 的新手,但我仍在努力完善文档。
【问题讨论】: