开发者

Stored procedure in Ruby on Rails

开发者 https://www.devze.com 2022-12-20 03:26 出处:网络
I am开发者_如何学Go working on Ruby on Rail web site and I am using MySQL for database support. Now I would like to know: is it possible to use stored procedure in my Ruby on Rails application? If pos

I am开发者_如何学Go working on Ruby on Rail web site and I am using MySQL for database support. Now I would like to know: is it possible to use stored procedure in my Ruby on Rails application? If possible can you provide some details?


Google turns up some very useful info, including this.

ActiveRecord::Base.connection.execute("execute procedure_name")
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号