method

tables

Importance_0
v3.0.9 - Show latest stable - 0 notes - Class: ActiveRecord::ConnectionAdapters::MysqlAdapter
tables(name = nil, database = nil) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

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
Register or log in to add new notes.