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

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

Overview

Defines behaviour 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



25
26
27
# File 'lib/mongo/collection/view/immutable.rb', line 25

def options
  @options
end