[CSHARP-321] Change Query builder to support new $and query operator Created: 06/Sep/11  Updated: 02/Apr/15  Resolved: 17/Oct/11

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: 1.2
Fix Version/s: 1.3

Type: New Feature Priority: Major - P3
Reporter: Robert Stam Assignee: Robert Stam
Resolution: Done Votes: 0
Labels: SERVER_V2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Starting with server 1.9.1 there is a new $and query operator. Change the Query builder to support the new $and operator. We will need to find a way to build queries for older versions of the server that don't yet support the $and operator (this might be semi-automatic or might require the developer calling alternate builder methods).



 Comments   
Comment by Robert Stam [ 17/Oct/11 ]

Modified Query.And to support the $and form added in version 2.0 of the server. For backward compatibility, Query.And avoids using the $and form unless it is the only way to express the query.

Generated at Wed Feb 07 21:36:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.