6 #ifndef KNOWROB_MONGO_TERM_H
7 #define KNOWROB_MONGO_TERM_H
11 #include "knowrob/terms/Term.h"
23 const char *queryOperator =
nullptr,
24 bool matchNullValue =
false,
25 bool includeVariables =
false);
31 const char *queryOperator =
nullptr,
32 bool matchNullValue =
false);
37 const std::vector<TermPtr> &terms,
38 const char *arrayOperator =
"$or");
static void append(bson_t *doc, const char *key, const std::vector< TermPtr > &terms, const char *arrayOperator="$or")
static void append(bson_t *doc, const char *key, const TermPtr &term, const char *queryOperator=nullptr, bool matchNullValue=false, bool includeVariables=false)
static std::string variableKey(const std::string_view &varName)
static void appendWithVars(bson_t *doc, const char *key, const TermPtr &term, const char *queryOperator=nullptr, bool matchNullValue=false)
std::shared_ptr< Term > TermPtr