Method: Myq::Core#table_info

Defined in:
lib/myq/core.rb

#table_info(table) ⇒ Object



110
111
112
# File 'lib/myq/core.rb', line 110

def table_info(table)
  @client.xquery("SELECT * FROM INFORMATION_SCHEMA.COLUMNS where TABLE_NAME = '#{table}'")
end