Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-1241

Single and SingleOrDefaultAsync on IFindFluent shouldn't set the limit to 2 if it is already 1.

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 2.1
    • 2.0
    • API
    • None

    Description

      If the limit is already 1 in IFindFluent, changing the limit to 2 when Single or SingleOrDefault is used can cause an exception to be thrown.

      Attachments

        Activity

          People

            craig.wilson@mongodb.com Craig Wilson
            craig.wilson@mongodb.com Craig Wilson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: