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











                                           
module Arel
  module Nodes
    class Count
      attr_accessor :expressions, :distinct

      def initialize expr, distinct = false
        @expressions = expr
        @distinct    = distinct
      end
    end
  end
end