A CodecProvider for the Document
class and all the default Codec implementations on which it depends.
A Codec for immutable Document instances.
As the underlying driver expects documents to be mutable the driver has direct access to the Documents underlying
mutable BsonDocument instance and therefore will mutate the document when adding an _id
A Codec for mutable Document instances.
Companion helper for immutable Document instances.
Companion helper for mutable Document instances.