How can I set flag CLIENT_MULTI_STATEMENTS for mysql2 ruby gem? -


or way run multiple queries in 1 function call in mysql2 gem?

when setup new client can add flags

client = mysql2::client.new(:host => 'localhost', :database => 'my_db', :username => "root", :password => "", :flags => mysql2::client::multi_statements) 

Comments

Popular posts from this blog

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c++ - Convert big endian to little endian when reading from a binary file -