📜  rails 运行本机 ssql 查询 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:06.809000             🧑  作者: Mango

代码示例1
sql = "Select * from ... your sql query here"
records_array = ActiveRecord::Base.connection.execute(sql)