Sha256: 485c291a7edec59b510c07dfea71401082cf866c8ff62fc451505ec038be90e2

Contents?: true

Size: 315 Bytes

Versions: 2

Compression:

Stored size: 315 Bytes

Contents

require 'active_record/connection_adapters/sqlite_adapter'

module ActiveRecord
  module ConnectionAdapters #:nodoc:
    class SQLite3Adapter # :nodoc:
      def supports_count_distinct? #:nodoc:
        false
      end
      
      def concat(*columns)
        "(#{columns.join('||')})"
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
composite_primary_keys-3.0.4 lib/composite_primary_keys/connection_adapters/sqlite3_adapter.rb
composite_primary_keys-3.0.3 lib/composite_primary_keys/connection_adapters/sqlite3_adapter.rb