method
partition
v7.1.3.2 -
Show latest stable
- Class:
Arel::Nodes::Window
partition(*expr)public
No documentation available.
# 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