diff options
Diffstat (limited to 'lib/arel/nodes')
-rw-r--r-- | lib/arel/nodes/count.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/arel/nodes/count.rb b/lib/arel/nodes/count.rb index 2f220dbfc8..354659ef70 100644 --- a/lib/arel/nodes/count.rb +++ b/lib/arel/nodes/count.rb @@ -1,6 +1,8 @@ module Arel module Nodes class Count < Arel::Nodes::Function + include Arel::Expression + attr_accessor :distinct def initialize expr, distinct = false, aliaz = nil |