Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-9

API cosmetics: rename getLastError() to getLastStatus()

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Trivial - P5 Trivial - P5
    • None
    • None
    • None
    • None

    Description

      See http://groups.google.com/group/mongodb-user/browse_frm/thread/9799532f62e698fe

      getLastError() should be renamed to getLastStatus() - because that's what it really does.
      Then the driver APIs should also grow a getLastStatus(). Currently they only expose an error() method (afaik) which can be misleading due to the name similarity to the underlying getLastError().

      Attachments

        Activity

          People

            mike Michael Dirolf
            raz Jim Jones
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: