Sha256: 2877173db111dee83761eb823dce35193d1aef36db2e29918f6ab77a8f077b99

Contents?: true

Size: 257 Bytes

Versions: 4

Compression:

Stored size: 257 Bytes

Contents

module SchemaPlus::Compatibility
  module ActiveRecord
    module ConnectionAdapters
      module Mysql2Adapter
        def tables_only
          select_values("SHOW FULL TABLES WHERE table_type != 'VIEW'", "SCHEMA")
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
schema_plus_compatibility-1.0.0 lib/schema_plus/compatibility/active_record/connection_adapters/mysql2_adapter.rb
schema_plus_compatibility-0.4.0 lib/schema_plus/compatibility/active_record/connection_adapters/mysql2_adapter.rb
schema_plus_compatibility-0.3.0 lib/schema_plus/compatibility/active_record/connection_adapters/mysql2_adapter.rb
schema_plus_compatibility-0.2.0 lib/schema_plus/compatibility/active_record/connection_adapters/mysql2_adapter.rb