method

distinct

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: SelectManager
distinct(value = true) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/arel/select_manager.rb, line 154
    def distinct(value = true)
      if value
        @ctx.set_quantifier = Arel::Nodes::Distinct.new
      else
        @ctx.set_quantifier = nil
      end
      self
    end
Register or log in to add new notes.