[CSHARP-425] Linq Support For Any() extension method Created: 02/Apr/12  Updated: 02/Apr/15  Resolved: 02/Apr/12

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: 1.4
Fix Version/s: 1.4.1

Type: New Feature Priority: Major - P3
Reporter: joe devenny Assignee: Robert Stam
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates CSHARP-413 Add support for Enumerable.Any in LIN... Closed

 Description   

Hello,
I currently use Sam's mongo driver and it support queries such as :
session.GetCollection<ProductSnapshot>().First(d => d.Skus.Any(s => s.SkuNumber == skuPurchased))

Is it possible to have your driver support doing Any() on the server?
I find myself writing this sort of query often.

Thanks,
Joe



 Comments   
Comment by Robert Stam [ 02/Apr/12 ]

Resolving this issue as Duplicate. Follow CSHARP-413 instead.

Comment by Robert Stam [ 02/Apr/12 ]

We do plan to support Enumerable.Any relatively soon. This ticket duplicates CSHARP-413 which I have just now moved from the 1.5 release to the 1.4.1 release. Please follow CSHARP-413 as any comments about progress on the feature will be posted there.

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