diff options
author | neodarz <neodarz@neodarz.net> | 2019-08-08 15:50:31 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2019-08-08 15:50:31 +0200 |
commit | 0ce9ff7103a8303cbf7bbefe22adbc2b9505ea17 (patch) | |
tree | e924b3f1d325fe961f19a62f1aeaf038eaa3a4ef /db/uobject.h | |
parent | db5f789c5aeaee55ee0b54cb251eb5e5fbc0ec5b (diff) | |
download | umosapicpp-0ce9ff7103a8303cbf7bbefe22adbc2b9505ea17.tar.xz umosapicpp-0ce9ff7103a8303cbf7bbefe22adbc2b9505ea17.zip |
Split some codes
Diffstat (limited to '')
-rw-r--r-- | db/uobject.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/db/uobject.h b/db/uobject.h new file mode 100644 index 0000000..b4c2ef0 --- /dev/null +++ b/db/uobject.h @@ -0,0 +1,23 @@ +#ifndef Uobject_H_ +#define Uobject_H_ + +#include <bsoncxx/builder/stream/document.hpp> +#include <bsoncxx/json.hpp> + +#include <mongocxx/client.hpp> +#include <mongocxx/instance.hpp> + +#include <mongocxx/client.hpp> +#include <mongocxx/stdx.hpp> +#include <mongocxx/uri.hpp> + +#include <json-c/json.h> + +#include "../shared.h" +#include "../db/mongo_access.h" + +namespace uobject { + std::string retrieveAll(std::string collection, struct json_object* jsonObjects); +} + +#endif |