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

Use limit 1 instead of -1

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.2.0.rc0
    • Component/s: None
    • Labels:

      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

              Assignee:
              oleg.pudeyev Oleg Pudeyev
              Reporter:
              oleg.pudeyev Oleg Pudeyev
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: