Method: ActiveRecord::ConnectionAdapters::AbstractAdapter#supports_count_distinct?

Defined in:
lib/active_record/connection_adapters/abstract_adapter.rb

#supports_count_distinct?Boolean

Does this adapter support using DISTINCT within COUNT? This is true for all adapters except sqlite.

Returns:

  • (Boolean)


68
69
70
# File 'lib/active_record/connection_adapters/abstract_adapter.rb', line 68

def supports_count_distinct?
  true
end