aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/arel/nodes/count.rb
blob: 880464639d5ffa5af88e9fab00f3a82ed631447d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# 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