Skip to content

Commit c79bfdb

Browse files
Removed unused function
1 parent 84c45d3 commit c79bfdb

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

src/sqlgen/sqlite/to_sql.cpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -277,18 +277,6 @@ std::string escape_single_quote(const std::string& _str) noexcept {
277277
return internal::strings::replace_all(_str, "'", "''");
278278
}
279279

280-
std::string column_or_agg_to_str(
281-
const dynamic::ColumnOrAggregation& _column_or_agg) noexcept {
282-
return _column_or_agg.visit([](const auto& _c) -> std::string {
283-
using Type = std::remove_cvref_t<decltype(_c)>;
284-
if constexpr (std::is_same_v<Type, dynamic::Column>) {
285-
return "\"" + _c.name + "\"";
286-
} else {
287-
return aggregation_to_sql(_c);
288-
}
289-
});
290-
}
291-
292280
std::string field_to_str(const dynamic::SelectFrom::Field& _field) noexcept {
293281
std::stringstream stream;
294282

0 commit comments

Comments
 (0)