Add Bson interface to enable type-safe MongoCollection API

XMLWordPrintableJSON

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

      Introduce the Bson interface, and replaced all use of Object in the high-level API with it.

      BasicDBObject, Document, and BsonDocument will implement this interface, so any of them can be used to specify filter, sort, projection, update, etc. Third parties can create their own implementations to allow for other types to be used that are not included in the driver proper.

              Assignee:
              Jeffrey Yemin
              Reporter:
              Jeffrey Yemin
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: