13enum class SqlServerType : uint8_t
25struct std::formatter<Lightweight::SqlServerType>: std::formatter<std::string_view>
27 using SqlServerType = Lightweight::SqlServerType;
28 auto format(SqlServerType type, format_context& ctx)
const -> format_context::iterator
30 using namespace std::string_view_literals;
34 case SqlServerType::MICROSOFT_SQL:
35 name =
"Microsoft SQL Server"sv;
37 case SqlServerType::POSTGRESQL:
38 name =
"PostgreSQL"sv;
40 case SqlServerType::SQLITE:
43 case SqlServerType::MYSQL:
46 case SqlServerType::UNKNOWN:
50 return std::formatter<string_view>::format(name, ctx);