method
tables
tables(name = nil, database = nil)
public
Hide source
# File activerecord/lib/active_record/connection_adapters/mysql_adapter.rb, line 405 def tables(name = nil, database = nil) #:nodoc: tables = [] result = execute(["SHOW TABLES", database].compact.join(' IN '), name) result.each { |field| tables << field[0] } result.free tables end