1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib/arel/nodes/count.rb
2018-02-24 17:15:32 +10:30

13 lines
258 B
Ruby

# frozen_string_literal: true
module Arel
module Nodes
class Count < Arel::Nodes::Function
include Math
def initialize expr, distinct = false, aliaz = nil
super(expr, aliaz)
@distinct = distinct
end
end
end
end