Add helper methods: setProfilingLevel, getProfilingLevel, getProfilingInfo

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: API
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In the Mongo Driver Requirements:

      High Priority

      • database profiling: set/get profiling level, get profiling info

      Pymongo, as well as MongoDB shell supports this.

      You can enable it through command, but I think separate method should be added.

      db.command(BasicDBObjectBuilder.start().add("profile", 0).get());
      

            Assignee:
            Unassigned
            Reporter:
            Uladzimir Mihura (Inactive)
            None
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: