Module: Mongoid::Contextual::Aggregable

Defined in:
build/mongoid-7.4/lib/mongoid/contextual/aggregable.rb,
build/mongoid-7.4/lib/mongoid/contextual/aggregable/none.rb,
build/mongoid-7.4/lib/mongoid/contextual/aggregable/mongo.rb,
build/mongoid-7.4/lib/mongoid/contextual/aggregable/memory.rb

Defined Under Namespace

Modules: Memory, Mongo, None

Constant Summary collapse

EMPTY_RESULT =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

{
  "count" => 0,
  "sum" => 0,
  "avg" => nil,
  "min" => nil,
  "max" => nil,
}.freeze