Skip to content

Kotlin BSON • Based on the official MongoDB implementationopensavvy.ktmongo.bson.official.typesJvm

Jvm

fun ObjectIdGenerator.Companion.Jvm(): ObjectIdGenerator

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

This generation algorithm is slightly different from ObjectIdGenerator.Default. Here are a few differences: