Hey there,
I'm using c++11 driver and going to extract the Hex-ID of a youst inserted document with the function collection.insert_one.
Is there a function I can coll to extract the ID out of the returned Object?
Can't find any example.
struct core::v1::optional<mongocxx::v_noabi::result::insert_one> retVal3 = collection.insert_one(document.view());
std::string = retVal3.IDplease(); // or the hex code. anything? =)