Support database and collection helper methods

XMLWordPrintableJSON

    • Type: Story
    • Resolution: Fixed
    • Priority: Major - P3
    • 0.1.0
    • Affects Version/s: None
    • Component/s: Embedded Shell, Shell API
    • None
    • Needed
    • Hide

      Two new methods added, getName and getMongo

      Show
      Two new methods added, getName and getMongo

      • Database.getName
      • Database.getSisterDB , see https://jira.mongodb.org/browse/SERVER-46231
      • Collection.getMongo
      • Collection.getCollection not mentioned in docs, behavior in the old shell is weird: db.abc.getCollection('def') --> Collection("abc.def")

              Assignee:
              Anna Herlihy (Inactive)
              Reporter:
              Maurizio Casimirri
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: