[DOCS-6374] Comment on: "primer/query.txt" Created: 14/Oct/15  Updated: 03/Nov/17  Resolved: 27/Jul/16

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Bug Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Won't Fix Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Visual Studio 2015 Community Edition, FluentAssertions 4.0.0 for .NET 4.5.2

Location: https://docs.mongodb.org/getting-started/csharp/query/
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36
Referrer: https://docs.mongodb.org/getting-started/csharp/insert/
Screen Resolution: 1920 x 1080
repo: docs
source: query


Participants:
Days since reply: 7 years, 29 weeks ago

 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.



 Comments   
Comment by Kay Kim (Inactive) [ 27/Jul/16 ]

Jira housekeeping as we are undergoing projects for driver documentation. If you require additional support, please open a new ticket for prioritization. Regards, Kay Kim

Generated at Thu Feb 08 07:52:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.