diff options
author | neodarz <neodarz@neodarz.net> | 2019-09-10 16:20:11 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2019-09-10 16:20:11 +0200 |
commit | 1ae302dae3df2cb48c99ebdf407e490dca97d5fd (patch) | |
tree | 491e1f6ee0708ea379e3ead5f48246a36b88c0e9 /db/uobject.h | |
parent | cc42e3be1c2cfe357efaaa49b6d3738f037a9696 (diff) | |
parent | cc8c1ad450667c8f6f983ba4f0d640accdcb49cf (diff) | |
download | umosapicpp-1ae302dae3df2cb48c99ebdf407e490dca97d5fd.tar.xz umosapicpp-1ae302dae3df2cb48c99ebdf407e490dca97d5fd.zip |
Merge branch 'restbed_rewrite'
Diffstat (limited to '')
-rw-r--r-- | db/uobject.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/db/uobject.h b/db/uobject.h index 0533661..2abf7dd 100644 --- a/db/uobject.h +++ b/db/uobject.h @@ -19,11 +19,19 @@ #include "../shared.h" #include "../db/mongo_access.h" -namespace uobject { +namespace UmosapiService { + +class uobject { + public: + + uobject(); + virtual ~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); std::string searchKeyValue(std::string collection, std::string key, std::string value, struct json_object* jsonArray); -} +}; +} #endif |