lib/mongo/query_cache.rb
def call(env)
        QueryCache.cache do
          @app.call(env)
        end
      ensure
        QueryCache.clear
      end
# Enable query cache and execute the request.
#
# @example Execute the request.
#   middleware.call(env)
#
# @param [ Object ] env The environment.
#
# @return [ Object ] The result of the call.
Enable query cache and execute the request.
Enable query cache and execute the request .
def call(env)
        QueryCache.cache do
          @app.call(env)
        end
      ensure
        QueryCache.clear
      end
def call ( env ) QueryCache . cache do @app . call ( env ) end ensure QueryCache . clear end
Enable query cache and execute the request.
Enable query cache and execute the request .
The result of the call.
The result of the call .
 Object 
env
env The environment.
env The environment .
example
Execute the request. middleware.call(env)
Execute the request . middleware . call ( env )