12 lines
238 B
Ruby
12 lines
238 B
Ruby
|
# frozen_string_literal: true
|
||
|
module Arel
|
||
|
module Nodes
|
||
|
class Count < Arel::Nodes::Function
|
||
|
def initialize expr, distinct = false, aliaz = nil
|
||
|
super(expr, aliaz)
|
||
|
@distinct = distinct
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|