This commit is contained in:
@@ -103,6 +103,7 @@ public:
|
||||
value_);
|
||||
}
|
||||
|
||||
#if defined(PROJECT_ENABLE_JSON)
|
||||
[[nodiscard]] auto get_value_as_json() const -> nlohmann::json {
|
||||
return std::visit(
|
||||
overloaded{
|
||||
@@ -113,6 +114,7 @@ public:
|
||||
},
|
||||
value_);
|
||||
}
|
||||
#endif // defined(PROJECT_ENABLE_JSON)
|
||||
};
|
||||
|
||||
template <typename ctx_t> class db_row final {
|
||||
|
||||
Reference in New Issue
Block a user