Kotlin BSON • Multiplatform abstraction for different BSON implementations • opensavvy.ktmongo.bson.types • ObjectId • Companion • maxAt
maxAt¶
The maximum ObjectId created at timestamp.
It is guaranteed that:
-
All
ObjectIdinstances created attimestampare lesser or equal to the output of this function. -
All
ObjectIdinstances created beforetimestampare strictly lesser than the output of this function. -
All
ObjectIdinstances created aftertimestampare strictly greater than the output of this function.
This function is particularly helpful to create queries against ranges of timestamps.