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-04-25 17:14:07 +01:00

12 lines
254 B
Ruby

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