[CSHARP-431] Allow constant to appear on either side of comparison operator in LINQ queries Created: 04/Apr/12  Updated: 02/Apr/15  Resolved: 04/Apr/12

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

Type: Improvement Priority: Minor - P4
Reporter: Robert Stam Assignee: Robert Stam
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by CSHARP-430 LINQ does not support DateTime compar... Closed

 Description   

Treat the following as equivalent:

from c in collection.AsQueryable<C>() where c.X > 0 select c;
from c in collection.AsQueryable<C>() where 0 < c.X select c;

and similarly for other operators.


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