Kotlin BSON • Based on the official MongoDB implementation • opensavvy.ktmongo.bson.official.types • toOfficial
toOfficial¶
@ExperimentalTime
fun ObjectId.toOfficial(): ObjectId
Converts an ObjectId from the Java driver into a KtMongo ObjectId.
fun Timestamp.toOfficial(): BsonTimestamp