added new database
This commit is contained in:
@@ -17,7 +17,7 @@ class Database {
|
||||
typedef std::vector<std::variant<int64_t, std::string>> QueryData;
|
||||
|
||||
public:
|
||||
static constexpr std::string dbFile = "app.db";
|
||||
static constexpr std::string dbFile = "test.db";
|
||||
|
||||
Database();
|
||||
~Database();
|
||||
@@ -30,6 +30,8 @@ public:
|
||||
|
||||
std::set<std::string> getStrSet(const std::string& sql);
|
||||
|
||||
static std::string currentTime();
|
||||
|
||||
template <typename T>
|
||||
std::optional<T> getSqlData(sqlite3_stmt* stmt, int i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user