Method: Sequel::MySQL::DatasetMethods#supports_distinct_on?

Defined in:
lib/sequel/adapters/shared/mysql.rb

#supports_distinct_on?Boolean

MySQL can emulate DISTINCT ON with its non-standard GROUP BY implementation, though the rows returned cannot be made deterministic through ordering.

Returns:

  • (Boolean)


888
889
890
# File 'lib/sequel/adapters/shared/mysql.rb', line 888

def supports_distinct_on?
  true
end