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

Add Mongo.get/setWriteConcern

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.14.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Iteration Chicago
    • Needed
    • Hide

      We need to add the Mongo.getWriteConcern and Mongo.setWriteConcern methods to the documentation. It is important to note that Mongo.setWriteConcern will cause a termination of the connection and re-establishmend (like Mongo.setReadConcern).

      Since Mongo.setReadConcern is not fully documented, I don't know if you want to add full Mongo.setWriteConcern documentation, yet. I can provide the detailed signature if you need it.

      Show
      We need to add the Mongo.getWriteConcern and Mongo.setWriteConcern methods to the documentation. It is important to note that Mongo.setWriteConcern will cause a termination of the connection and re-establishmend (like Mongo.setReadConcern ). Since Mongo.setReadConcern is not fully documented, I don't know if you want to add full Mongo.setWriteConcern documentation, yet. I can provide the detailed signature if you need it.

      Add methods that work like the old shell did here. We have these for read concern, but not for write concern. These would require documentation changes, because they are not currently documented.

            Assignee:
            michael.rose@mongodb.com Michael Rose (Inactive)
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: