22 #include "../Shared/sqldefs.h"
46 const std::string& dash_id) {
51 const std::string& meta) {
53 std::regex extract_objects_expr(
".*table\":\"(.*?)\"");
55 if (std::regex_search(meta, match, extract_objects_expr)) {
56 const std::string list = match[1];
57 std::vector<std::string> dash_objects;
58 std::regex individual_objects_expr(R
"(\w+)");
59 std::sregex_iterator iter(list.begin(), list.end(), individual_objects_expr);
60 std::sregex_iterator end;
62 dash_objects.push_back((*iter)[0]);
std::string dashboardMetadata
std::string dashboardSystemRoleName
std::string dashboardState
std::vector< std::string > parse_underlying_dashboard_objects(const std::string &meta)
static const std::string SYSTEM_ROLE_TAG("#dash_system_role")
specifies the content in-memory of a row in the dashboard
std::string dashboardName
std::string generate_dashboard_system_rolename(const std::string &db_id, const std::string &dash_id)