[CSHARP-2460] Support more difficult "Any"s which are nested one into one Created: 21/Dec/18 Updated: 28/Oct/23 Resolved: 04/Mar/19 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Linq |
| Affects Version/s: | None |
| Fix Version/s: | 2.8.0 |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Dmitry Lukyanov (Inactive) | Assignee: | Dmitry Lukyanov (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
C# linqu quwery |
||
| Issue Links: |
|
||||||||
| Description |
|
Original query: I have collection with element(let it be only one in collection)
3.
Even throws error. Inncorrect! It means "!=" operator does not work properly for internal collection Note GetAllFor() returns IQueryable<of the class> Updated description: 1. We do not support difficult All queries if there is an approach to make the same logic via Any. 2. The above example will not compile as syntax error: Any and All methods have the same parameter "s" in the same code scope. So, the following query should be supported instead of the original one:
|
| Comments |
| Comment by Githook User [ 04/Mar/19 ] |
|
Author: {'name': 'Dmitry Lukyanov', 'email': 'dmitry_lukyanov@epam.com', 'username': 'dmitry-lukyanov'}Message: |