method

group

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: UpdateManager
group(columns) 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/update_manager.rb, line 32
    def group(columns)
      columns.each do |column|
        column = Nodes::SqlLiteral.new(column) if String === column
        column = Nodes::SqlLiteral.new(column.to_s) if Symbol === column

        @ast.groups.push Nodes::Group.new column
      end

      self
    end
Register or log in to add new notes.