24 #if defined(_WIN32) || defined(_WIN64)
29 #include <mongo/bson/bson.h>
31 #include "../../../repo_bouncer_global.h"
32 #include "../../../lib/repo_log.h"
37 enum class REPO_API_EXPORT ElementType{
38 ARRAY, UUID, BINARY, BOOL, DATE,
39 OBJECTID, DOUBLE, INT, LONG, OBJECT, STRING, UNKNOWN
42 public mongo::BSONElement
66 ElementType type()
const;
68 std::vector<RepoBSONElement> Array()
73 std::vector<RepoBSONElement> arr;
77 std::vector<mongo::BSONElement> mongoArr = mongo::BSONElement::Array();
78 arr.reserve(mongoArr.size());
80 for (
auto const &ele : mongoArr)
Definition: repo_bson_element.h:41
RepoBSONElement()
Definition: repo_bson_element.h:49
Definition: repo_connection_pool_mongo.h:32
RepoBSONElement(mongo::BSONElement ele)
Definition: repo_bson_element.h:55