[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:
Duplicate
duplicates CSHARP-4405 Add $week group by operator in c# / .... Closed

 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.

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