Method: Sequel::SQL::Function#distinct

Defined in:
lib/sequel/sql.rb

#distinctObject

Return a new function with DISTINCT before the method arguments.

Sequel.function(:count, :col).distinct # count(DISTINCT col)


1403
1404
1405
# File 'lib/sequel/sql.rb', line 1403

def distinct
  with_opts(:distinct=>true)
end