[SERVER-14469] Date Truncate Functions ($project, db/pipeline) Created: 05/Jul/14 Updated: 10/Dec/14 Resolved: 17/Jul/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework, Internal Code |
| Affects Version/s: | 2.6.3 |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Heiko Steindl [X] | Assignee: | Matt Kangas |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Participants: |
| Description |
|
Patch to support date truncate functions. Please review it, it is just a quick patch to support date truncate. In our case, it was faster to use date truncate functions in $project (and then group on it) as with splitting of with $second, $minute, etc. I hope this helps |
| Comments |
| Comment by Matt Kangas [ 17/Jul/14 ] |
|
HeikoSteindl, I am closing this as a duplicate of |
| Comment by Matt Kangas [ 08/Jul/14 ] |
|
Hi HeikoSteindl, The best way to contribute code to the MongoDB server is outlined in CONTRIBUTING.rst in our source repository. We need you to sign our contributor agreement, then submit your code as a pull request. We also need tests to prove that the new code works correctly. Some related tickets to consider: |