Module: Mongo::Collection::View::Immutable

Included in:
Mongo::Collection::View, Aggregation::Behavior, MapReduce
Defined in:
lib/mongo/collection/view/immutable.rb

Overview

Defines behavior around views being configurable and immutable.

Since:

  • 2.0.0

Instance Attribute Summary collapse

Instance Attribute Details

#optionsHash (readonly)

Returns options The additional query options.

Returns:

  • (Hash)

    options The additional query options.

Since:

  • 2.0.0



28
29
30
# File 'lib/mongo/collection/view/immutable.rb', line 28

def options
  @options
end