Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-6374

Comment on: "primer/query.txt"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None

    Description

      The FluentAssertions library does not contain an IsInAscendingOrder as represented in the sorting query example for C#. Instead, the code should probably read result.Should().BeInAscendingOrder(document => new BsonDocument {

      { "borough", "document["borough"] }

      ,

      { "address.zipcode", document.GetValue("address.zipcode", "") }

      }); At least, this untested revision does not violate any compilation errors.

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 29 weeks ago