-
Type: Task
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.4.0
-
Component/s: API
-
None
Since I was not sure if this is a bug or if I am missing something I am first filing this under the "question" category.
I am recording the ObjectId in a string and want to later use it to retrieve the document:
auto result = m_collection.insert_one(doc_val.view());
m_id = result->inserted_id().get_oid().value.to_string();
However, the to_string method is returning a decimal representation, even though the API documentation says it should return a hexadecimal representation.