lib/mongo/query_cache.rb
def namespace_key(**opts)
        if opts[:multi_collection]
          nil
        else
          opts[:namespace]
        end
      end
# If the cached results can come from multiple collections, store this
# cursor under the nil namespace to be cleared on every write operation.
# Otherwise, store it under the specified namespace.
If the cached results can come from multiple collections, store this
cursor under the nil namespace to be cleared on every write operation.
Otherwise, store it under the specified namespace.
If the cached results can come from multiple collections store this cursor under the nil namespace to be cleared on every write operation . Otherwise store it under the specified namespace .
def namespace_key(**opts)
        if opts[:multi_collection]
          nil
        else
          opts[:namespace]
        end
      end
def namespace_key ( ** opts ) if opts [ :multi_collection ] nil else opts [ :namespace ] end end
If the cached results can come from multiple collections, store this
cursor under the nil namespace to be cleared on every write operation.
If the cached results can come from multiple collections store this cursor under the nil namespace to be cleared on every write operation .
opts