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
ObjectId
instances created attimestamp
are lesser or equal to the output of this function. -
All
ObjectId
instances created beforetimestamp
are strictly lesser than the output of this function. -
All
ObjectId
instances created aftertimestamp
are strictly greater than the output of this function.
This function is particularly helpful to create queries against ranges of timestamps.