common Kotlin BSON • Multiplatform abstraction for different BSON implementations • opensavvy.ktmongo.bson.types • toObjectIdRange toObjectIdRange¶ @ExperimentalTime fun ClosedRange<Instant>.toObjectIdRange(): ClosedRange<ObjectId> Converts a range of Instant to a range of ObjectId. See also¶ ObjectId.Companion.minAt ObjectId.Companion.maxAt @ExperimentalTime fun OpenEndRange<Instant>.toObjectIdRange(): OpenEndRange<ObjectId> Converts a range of Instant to a range of ObjectId. See also¶ ObjectId.Companion.minAt ObjectId.Companion.maxAt