aboutsummaryrefslogblamecommitdiffstats
path: root/lib/arel/nodes/count.rb
blob: c6e19afb348206795dc9165f3c371373fb4968bd (plain) (tree)
1
2
3
4
5
6
7
8
9

              
                                       
 
                             
 


                                                        



         
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