Add support for the $comment meta operator to help with profiling

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Minor - P4
    • 2.1
    • Affects Version/s: 1.7.1
    • Component/s: Feature Request
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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()

              Assignee:
              Unassigned
              Reporter:
              Einar Egilsson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: