C++ driver library for MongoDB database connectivity
C++ driver for MongoDB
mongo-cxx-driver$ find_package(mongocxx REQUIRED)$ #include <mongocxx/client.hpp>$ mongocxx::client client{mongocxx::uri{}}; auto collection = client["db"]["collection"]; collection.insert_one(document{});