Uploaded image for project: 'Motor'
  1. Motor
  2. MOTOR-936

Mention method delete_one in asyncio tutorial in documentation

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.0
    • Affects Version/s: None
    • Component/s: Docs
    • None

      The asyncio tutorial in the docs should mention `delete_one` as well as `delete_many` in the "deleting documents" section: https://motor.readthedocs.io/en/stable/tutorial-asyncio.html#deleting-documents

      Also, searching for `delete_one` on the docs page only brings up changelog and migrating guide results. No Reference that lists `delete_one` as a valid method, unless one reads the changelog or update entries. It should bring up the relevant section in the Collection class docs

      This is my first issue here so apologies if I missed something.

            Assignee:
            steve.silvester@mongodb.com Steve Silvester
            Reporter:
            ek2660@gmail.com Emir K
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: