Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-4972

Document limitations of Mongoid's query cache

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0.rc1
    • Affects Version/s: None
    • Component/s: Query
    • None

      The planned improvements in the driver's query cache implementation are not intended to be backported to Mongoid. As such, although Mongoid will continue providing its (legacy) query cache implementation for compatibility reasons, it won't be as correct or as effective as the driver's implementation.

      The Mongoid documentation referencing query cache should state that the driver's query cache is both more correct and more effective, and recommend using the 2.14+ driver.

      Document that performing a query using the .first method on a model class will impose an ascending sort by id on that query.

            Assignee:
            emily.giurleo@mongodb.com Emily Giurleo (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: