22 #include <boost/algorithm/string.hpp> 23 #include <spdlog/details/format.h> 33 static std::string fixup_uuid(
const std::string &uuid)
35 return boost::replace_all_copy(uuid,
"-",
"_");
This is the header file for a generated source file, GitSHA1.cpp.
void release()
Release the Savepoint if it wasn't released already, otherwise does nothing.
bool rollback_to()
Rollback to the Savepoint, unless the Savepoint was already released.
Provide a lightweight abstraction around the SAVEPOINT SQL concept.
std::string gen_uuid()
Generate a new UUID.
std::string format(const std::string &escape_code, const T &in)
Return a string containing the escape code, a string representation of T and the clear escape string...
Savepoint(odb::database &db)
Construct a Savepoint with a random name.