void bson_oid_to_string (const bson_oid_t *oid, char str[25]);
•
oid: A bson_oid_t.
str: A location for the resulting string.
Converts oid into a hex encoded string.
MongoDB, Inc
2017-present, MongoDB, Inc