method

order

v7.1.3.4 - Show latest stable - Class: Arel::Nodes::Window
order(*expr)
public

No documentation available.

# File activerecord/lib/arel/nodes/window.rb, line 14
      def order(*expr)
        # FIXME: We SHOULD NOT be converting these to SqlLiteral automatically
        @orders.concat expr.map { |x|
          String === x || Symbol === x ? Nodes::SqlLiteral.new(x.to_s) : x
        }
        self
      end