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

List<T>().Add problem C# -

Javascript natural sort array/object and maintain index association -