Пересматриваем решение на счёт SQL

This commit was merged in pull request #4.
This commit is contained in:
2025-03-26 22:14:58 +05:00
parent d47988adda
commit b16ae39263
37 changed files with 852 additions and 758 deletions

22
src/sql_builder/insert.h Normal file
View File

@@ -0,0 +1,22 @@
#pragma once
#include <QString>
#include <QStringList>
namespace Builder
{
struct Q_DECL_EXPORT Insert
{
QString tableName; // Имя таблицы
QStringList rows; // Именования колонок
// QStringList params;
bool orIgnore = false;
/*!
* \brief Сформировать SQL код для выполнения
*/
QString get() const;
};
} // namespace Builder