instance method data_sources

Ruby on Rails 5.0.7.2

Since v5.0.7.2 Last seen in v5.0.7.2

Signature

data_sources()

No documentation comment.

Source
# File activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb, line 325
      def data_sources
        sql = "SELECT table_name FROM information_schema.tables "
        sql << "WHERE table_schema = DATABASE()"

        select_values(sql, 'SCHEMA')
      end

Defined in activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb line 325 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close