method

partition

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: Window
partition(*expr) 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/nodes/window.rb, line 22
      def partition(*expr)
        # FIXME: We SHOULD NOT be converting these to SqlLiteral automatically
        @partitions.concat expr.map { |x|
          String === x || Symbol === x ? Nodes::SqlLiteral.new(x.to_s) : x
        }
        self
      end
Register or log in to add new notes.