Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-692

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • 2.1
    • 1.7.1
    • Feature Request
    • None

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            eeg@trustpilot.com Einar Egilsson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: