fix dump
This commit is contained in:
@@ -63,7 +63,7 @@ namespace hack::utils
|
||||
template<typename Json>
|
||||
inline std::string make_one(const Json& f)
|
||||
{
|
||||
auto f_str = f;
|
||||
auto f_str = f.dump();
|
||||
f_str = std::regex_replace(f_str, std::regex("'"), "[quote]");
|
||||
return hack::string::str_concat + "'" + f_str + "'::jsonb,";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user