59 using namespace std::string_view_literals;
61 if (!m_fields.empty())
65 m_fields += columnName;
68 if (!m_values.empty())
71 if constexpr (std::is_same_v<ColumnValue, SqlNullType>)
73 else if constexpr (std::is_same_v<ColumnValue, SqlWildcardType>)
75 else if constexpr (std::is_same_v<ColumnValue, SqlVariant>)
87 else if (m_inputBindings)
90 m_inputBindings->emplace_back(value);
93 m_values += m_formatter.
StringLiteral(std::format(
"{}", value));
95 else if (m_inputBindings)
98 m_inputBindings->emplace_back(value);
100 else if constexpr (std::is_same_v<ColumnValue, char>)
102 else if constexpr (std::is_arithmetic_v<ColumnValue>)
103 m_values += std::format(
"{}", value);
104 else if constexpr (std::is_convertible_v<ColumnValue, std::string>
105 || std::is_convertible_v<ColumnValue, std::string_view>
106 || std::is_convertible_v<ColumnValue, char const*>)
112 m_values += m_formatter.
StringLiteral(std::format(
"{}", value));