Default MongoCollectionOptions

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 3.0.0
    • Affects Version/s: None
    • Component/s: Async
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      You should be able to create MongoCollectionOptions with the appropriate default values. In other words

      MongoDatabase db = ...
      db.getCollection("my-col", MongoCollectionOptions.builder().build())

      should be equiv to

      MongoDatabase db = ...
      db.getCollection("my-col");

              Assignee:
              Ross Lawley
              Reporter:
              Nick Scavelli
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: