13enum class SqlServerType : uint8_t
26struct std::formatter<Lightweight::SqlServerType>: std::formatter<std::string_view>
28 using SqlServerType = Lightweight::SqlServerType;
29 auto format(SqlServerType type, format_context& ctx)
const -> format_context::iterator
31 using namespace std::string_view_literals;
35 case SqlServerType::MICROSOFT_SQL:
36 name =
"Microsoft SQL Server"sv;
38 case SqlServerType::POSTGRESQL:
39 name =
"PostgreSQL"sv;
41 case SqlServerType::ORACLE:
44 case SqlServerType::SQLITE:
47 case SqlServerType::MYSQL:
50 case SqlServerType::UNKNOWN:
54 return std::formatter<string_view>::format(name, ctx);