Kotlin find() using _id primary key with a string

I’m sure its been asked before but I didn’t see it…

I have a string value for the _id I want to find

If I find() I get back {"_id": {"$oid": “5f64d2413ff0231ed8ef1b54”}, “Tag 0”: “I’m here”}
If I find using eq(“Tag 0” and “I’m here”) I get the jdoc

But I can’t figure out the syntax for using a string and _id


Hi @Bob_Pappenhagen and welcome in the MongoDB Community :muscle: !

This is how I do it with Java. I guess it’s somewhat similar in Kotlin?