1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/lib/arel/nodes/count.rb
2010-09-23 14:02:12 -07:00

13 lines
240 B
Ruby

module Arel
module Nodes
class Count < Arel::Nodes::Function
attr_accessor :distinct
def initialize expr, distinct = false, aliaz = nil
super(expr, aliaz)
@distinct = distinct
end
end
end
end