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

Document.last considers default scope.

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 12_01_17
    • Component/s: None
    • Labels:
      None

      Description

      Fixes MONGOID-1975.

      The implementation can become quite slow, because it requests all documents to choose the last one. Perhaps moped can support query.last?

      /cc Bernerd Schaefer

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: