aboutsummaryrefslogtreecommitdiff
path: root/db/uobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'db/uobject.h')
-rw-r--r--db/uobject.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/db/uobject.h b/db/uobject.h
index e08429f..3e0fd1e 100644
--- a/db/uobject.h
+++ b/db/uobject.h
@@ -2,6 +2,9 @@
#define Uobject_H_
#include <bsoncxx/builder/stream/document.hpp>
+#include <bsoncxx/builder/basic/kvp.hpp>
+#include <bsoncxx/oid.hpp>
+
#include <bsoncxx/json.hpp>
#include <mongocxx/client.hpp>
@@ -19,6 +22,7 @@
namespace uobject {
std::string retrieveAll(std::string collection, struct json_object* jsonObjects);
std::string add(std::string collection, struct json_object* jsonObjects, const char * body);
+ std::string remove(std::string collection, std::string oid, struct json_object* jsonObjects);
}
#endif