Stored Procedure in Ruby on Rails

I am working on a Ruby on Rail website and I am using MySQL to support the database. Now I would like to know: is it possible to use a stored procedure in my Ruby on Rails application? If possible, can you provide some details?

+3
source share
1 answer

Google reveals very useful information, including this .

ActiveRecord::Base.connection.execute("execute procedure_name")
+4
source

Source: https://habr.com/ru/post/1733045/


All Articles