[CSHARP-2078] Missing support for $week operator Created: 31/Oct/17 Updated: 07/Nov/22 Resolved: 07/Nov/22 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Linq |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | David Golub | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | skunk | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
The expression tree translator supports the various operators to extract components from a date but is missing the $week operator. We should fix this omission. |
| Comments |
| Comment by David Golub [ 31/Oct/17 ] |
|
Upon further examination, it appears that System.DateTime doesn't have a Week property. If we were to add support for this, it would require something non-trivial such as adding such a property with an extension method. It might also be simpler to just go without this. |