[CSHARP-1325] Extend support for Enumerable.Any with predicate in LINQ queries Created: 18/Jun/15  Updated: 09/Mar/16  Resolved: 09/Mar/16

Status: Closed
Project: C# Driver
Component/s: Linq
Affects Version/s: 1.10
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Luís Ferreira Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CSHARP-413 Add support for Enumerable.Any in LIN... Closed

 Description   

Add support for LINQ queries like:

var query1 = from c in collection.AsQueryable<C>()
             where c.A.Any(a => (a % 2) == 0 && a > 2)
             select c;

where c.A is an integer array.



 Comments   
Comment by Craig Wilson [ 09/Mar/16 ]

Hi Luis,

We have this support in the 2.x series of the driver. We won't be fixing it in the 1.x series.

Craig

Comment by Luís Ferreira [ 18/Jun/15 ]

Arrays of primitives may be supported server-side.

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