Method: Myq::Core#variables
- Defined in:
- lib/myq/core.rb
#variables(like = nil) ⇒ Object
182 183 184 185 186 187 188 |
# File 'lib/myq/core.rb', line 182 def variables(like = nil) if like.nil? query('SHOW VARIABLES') else query("SHOW VARIABLES LIKE '%#{like}%'") end end |