BSON.ObjectId.encode
You're seeing just the function
encode
, go back to BSON.ObjectId module for more information.
Converts BSON.ObjectId struct to a string representation
Example
{:ok, bson_id} <- BSON.ObjectId.encode(id)