Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-898

Deprecate db.getLastError() and db.getLastErrorObj()

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.0.1
    • Affects Version/s: None
    • Component/s: Shell API
    • None
    • Needed
    • Hide

      The two function db.getLastError() and db.getLastErrorObj() are now marked as deprecated and will print a deprecation warning.

      Show
      The two function db.getLastError() and db.getLastErrorObj() are now marked as deprecated and will print a deprecation warning.
    • Iteration Geneva

          Assignee:
          michael.rose@mongodb.com Michael Rose (Inactive)
          Reporter:
          massimiliano.marcon@mongodb.com Massimiliano Marcon
          Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

            Created:
            Updated:
            Resolved: