KtMongo
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
KtMongo
Kotlin BSON
/
opensavvy.ktmongo.bson
/
BsonValue
/
decodeObjectId
decode
Object
Id
open
fun
decodeObjectId
(
)
:
ObjectId
(
source
)
Decodes this value as a
ObjectId
.
Throws
Bson
Decoding
Exception
If the value is not a
BsonType.ObjectId
.