Sha256: dab528d384e49ca98aeaa74eafdd6e609afebe3b7153fac9c69a6ffcde6e874b

Contents?: true

Size: 274 Bytes

Versions: 25

Compression:

Stored size: 274 Bytes

Contents

# frozen_string_literal: true

module Mongoid
  module Contextual
    module Aggregable

      # @api private
      EMPTY_RESULT = {
        "count" => 0,
        "sum" => 0,
        "avg" => nil,
        "min" => nil,
        "max" => nil,
      }.freeze
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
mongoid-8.1.8 lib/mongoid/contextual/aggregable.rb
mongoid-8.1.7 lib/mongoid/contextual/aggregable.rb
mongoid-8.1.6 lib/mongoid/contextual/aggregable.rb
mongoid-8.0.8 lib/mongoid/contextual/aggregable.rb
mongoid-8.1.5 lib/mongoid/contextual/aggregable.rb
mongoid-8.1.4 lib/mongoid/contextual/aggregable.rb
mongoid-8.0.7 lib/mongoid/contextual/aggregable.rb
mongoid-8.1.3 lib/mongoid/contextual/aggregable.rb
mongoid-8.1.2 lib/mongoid/contextual/aggregable.rb
mongoid-8.0.6 lib/mongoid/contextual/aggregable.rb
mongoid-7.5.4 lib/mongoid/contextual/aggregable.rb
mongoid-8.1.1 lib/mongoid/contextual/aggregable.rb
mongoid-8.0.5 lib/mongoid/contextual/aggregable.rb
mongoid-8.1.0 lib/mongoid/contextual/aggregable.rb
mongoid-7.5.3 lib/mongoid/contextual/aggregable.rb
mongoid-8.0.4 lib/mongoid/contextual/aggregable.rb
mongoid-8.0.3 lib/mongoid/contextual/aggregable.rb
mongoid-7.5.2 lib/mongoid/contextual/aggregable.rb
mongoid-8.0.2 lib/mongoid/contextual/aggregable.rb
mongoid-7.5.1 lib/mongoid/contextual/aggregable.rb