From 85e1431aa382f721e3b51804ca0b00ab063553ef Mon Sep 17 00:00:00 2001 From: neodarz Date: Thu, 8 Aug 2019 19:07:02 +0200 Subject: Add ability to delete an uobject --- db/uobject.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'db/uobject.h') 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 +#include +#include + #include #include @@ -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 -- cgit v1.2.1