/
nanezz
/
sh1
Обзор
Документация
Войти
/
nanezz
/
sh1
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
sql_query_builder.h
18 строк
479 B
nanezz
Create: sql_query_builder.cpp, sql_query_builder.h, main.cpp, sh11.slnx
01 авг 2026, 01:29
Верифицирован
01 авг 2026, 01:29
d6d3ea4
Код
Авторство
О чём код?
#pragma once #include <string> #include <vector> class SqlSelectQueryBuilder { public: SqlSelectQueryBuilder& AddColumn(const std::string& column); SqlSelectQueryBuilder& AddFrom(const std::string& table); SqlSelectQueryBuilder& AddWhere(const std::string& key, const std::string& value); std::string BuildQuery() const; private: std::vector<std::string> columns_; std::string table_; std::vector<std::string> where_conditions_; };