class Mysqlknife::Parameter::Describe

Attributes

database[W]
table[W]

Public Instance Methods

connect() click to toggle source
# File lib/mysqlknife/parameter/describe.rb, line 8
def connect
  @config.connection(@connection)
  if @connection.nil? == false &&
     @host.nil?       == false
    puts "Connecting to: #{@config.select(@host)}"
    @command.execute(@mysql.describe(@database, @table))
  end
end