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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Won't Fix
    • Affects Version/s: 1.7.1
    • Fix Version/s: 2.1
    • Component/s: Feature Request
    • Labels:
      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

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: