Skip to content

opensavvy.ktmongo.bson.official

The BSON factory, documents and arrays.

Types

BsonArray

Implementation of opensavvy.ktmongo.bson.BsonArray based on the official MongoDB drivers.

Implementation of a KtMongo opensavvy.ktmongo.bson.BsonArray that wraps a org.bson.BsonArray.

BsonDocument

Implementation of opensavvy.ktmongo.bson.BsonDocument based on the official MongoDB drivers.

Implementation of a KtMongo opensavvy.ktmongo.bson.BsonDocument that wraps a org.bson.BsonDocument.

BsonFactory

expect class BsonFactory : BsonFactory

actual class BsonFactory(codecRegistry: CodecRegistry) : BsonFactory

Creates KtMongo BsonDocument and BsonArray instances by wrapping the equivalents from the official drivers.

BsonDocument and BsonArray factory that uses the official MongoDB driver's CodecRegistry machinery.

BsonValue

Implementation of opensavvy.ktmongo.bson.BsonValue based on the official MongoDB drivers.

Implementation of a KtMongo opensavvy.ktmongo.bson.BsonValue that wraps a org.bson.BsonValue.

Functions