2#pragma warning(disable:4996)
12#include "bsoncxx/types/value.hpp"
13#include "bsoncxx/document/view_or_value.hpp"
23 class __declspec(dllexport) QueryBuilder
26 virtual ~QueryBuilder() {};
27 BsonViewOrValue GenerateFilterQuery(std::map<std::string, bsoncxx::types::value> filterPairs);
30 BsonViewOrValue GenerateFilterQuery(
const std::string& fieldName,
const std::list<ot::Variable>& variables);
32 BsonViewOrValue BuildBsonArray(
const std::string& fieldName, std::list<BsonViewOrValue>&& variables);
34 BsonViewOrValue GenerateSelectQuery(std::vector<std::string> columnNames,
bool incudeId);
bsoncxx::document::view_or_value BsonViewOrValue
Definition DocumentAccess.h:12
bsoncxx::document::view BsonView
Definition DocumentAccessBase.h:12
bsoncxx::types::value BsonValueType
Definition QueryBuilder.h:18
Definition Variable.h:107
Definition ArrayBinaryConverter.h:3