Use limit 1 instead of -1

XMLWordPrintableJSON

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

      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?

            Assignee:
            Oleg Pudeyev (Inactive)
            Reporter:
            Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: