Answers for "rails how to write sql request"

SQL
0

Write SQL in ruby on rails

sql = "Select * from ... your sql query here"
records_array = ActiveRecord::Base.connection.execute(sql)
Posted by: Guest on February-06-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language