Kotlin BSON • Multiplatform abstraction for different BSON implementations • opensavvy.ktmongo.bson.types • ObjectId • Companion • minAt
minAt¶
The minimum ObjectId
created at timestamp
.
It is guaranteed that:
-
All
ObjectId
instances created attimestamp
are greater 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.