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

Use limit 1 instead of -1

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 7.2.0.rc1
    • None

    Description

      https://github.com/mongodb/mongoid/commit/2849ebc7260cfb13056b90bdecc42fa8116da4ff added a limit of -1 which is then abs'ed to get a usable limit of 1. This is confusing; can 1 be specified in the first place?

      Attachments

        Issue Links

          Activity

            People

              oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
              oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: