[CSHARP-692] Add support for the $comment meta operator to help with profiling Created: 28/Feb/13 Updated: 22/Apr/15 Resolved: 22/Apr/15 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Feature Request |
| Affects Version/s: | 1.7.1 |
| Fix Version/s: | 2.1 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Einar Egilsson | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Epic Link: | Rewrite Linq | ||||||||
| Description |
|
It would be useful to get support for the $comment meta operator in the C# driver. This would allow users to tag their queries with a comment that shows up in system.profile if the query is slow (or if all queries are being profiled). This could be something like: collection.FindAll().SetComment("Tag my query").ToList() and for the LINQ version: collection.AsQueryable().Where(o => o.Field == 1).WithComment("Tag my query").ToList() |
| Comments |
| Comment by Craig Wilson [ 22/Apr/15 ] |
|
Hi Einar, We are only targeting the aggregation framework with the Linq rewrite ( Thanks, |