Package-level declarations

Types

Link copied to clipboard

Binary integer decimal representation of a 128-bit decimal value, supporting 34 decimal digits of significand and an exponent range of -6143 to +6144.

actual typealias Decimal128 = org.bson.types.Decimal128

Functions

Link copied to clipboard

An ObjectIdGenerator instance that uses the Java driver's org.bson.types.ObjectId's algorithm.

Link copied to clipboard
fun BsonTimestamp.toKtMongo(): Timestamp

Converts an ObjectId from KtMongo into one from the Java driver.

Link copied to clipboard

Converts an ObjectId from the Java driver into a KtMongo ObjectId.

fun Timestamp.toOfficial(): BsonTimestamp