Add examples to CRUD docstrings.

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Minor - P4
    • 3.0
    • Affects Version/s: None
    • Component/s: Docs
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The legacy CRUD API didn't have to include examples. It just linked back to the MongoDB shell docs since PyMongo's API emulated the shell.

      This is no longer the case with the new CRUD API. Add repl examples to the docstrings for the new CRUD methods added in PYTHON-820 and PYTHON-821, and other methods on Database and Collection.

            Assignee:
            Bernie Hackett
            Reporter:
            Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: