Or another way to run multiple queries in a single function call in gem mysql2?
When setting up a new client, you can add it to the flags
client = Mysql2::Client.new(:host => 'localhost', :database => 'my_db', :username => "root", :password => "", :flags => Mysql2::Client::MULTI_STATEMENTS)
Source: https://habr.com/ru/post/1766221/More articles:Rails model version control - ruby-on-railsкак изменить класс теговв jquery - javascriptHow to ensure that the property of the source data is retrieved from the context, and not from the cache? - iphonestd :: pair expects a "type", but I give it a type - c ++Где я могу узнать вариант "Конвертировать в веб-приложение" в Visual Studio 2010 Premium - web-applicationsWhat is the type of object added by IEditableCollectionView? - c #Can I write scala code in netbeans6.9.1? - scalaC # Reflection How-to? - reflectionHow to get the vertices of a polygon described by planes - c ++is there a class history visualization tool for SVN - version-controlAll Articles