BSON.ObjectId.decode

You're seeing just the function decode, go back to BSON.ObjectId module for more information.

Converts string representation of ObjectId to a BSON.ObjectId struct

Example


  {:ok, id} <- BSON.ObjectId.decode(bson_id)