toOfficial

fun ObjectId.toOfficial(): ObjectId(source)

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


fun Timestamp.toOfficial(): BsonTimestamp(source)