database
@ExperimentalKBsonSerializerApi
Get a MongoDatabase object to access data from the remote collections of the data source.
Serialization to and from EJSON is performed with KBSON and requires to opt-in to the experimental ExperimentalKBsonSerializerApi-feature.
Parameters
databaseName
name of the database from the data source.
eJson
the EJson serializer that the MongoDatabase should use to convert objects and primary keys with. Will default to the client's EJson instance. For details on configuration of serialization see MongoClient.