Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-262

Prevent "limit" from being specified on FindOne

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.0.2
    • Affects Version/s: None
    • Component/s: None
    • None

      Currently, collection.FindOne takes the same options as collection.Find, which means that a user can specify the Limit option on a FindOne operation. We should rectify this by making a separate FindOneOptioner type.

            Assignee:
            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            Reporter:
            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: