LAPTOP-SNT8I5JK\Boounion
2025-02-15 3ba7f1dbf602fb376c4cd158a8a416a4910902fe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef SQLITE_DATABASE_H
#define SQLITE_DATABASE_H
 
#include "Database.h"
#include <string>
#include <vector>
 
namespace BL {
    class DLL_API SQLiteDatabase : public Database {
    public:
        SQLiteDatabase();
        virtual ~SQLiteDatabase() override;
 
        bool connect(const std::string& connectionString, bool createIfNotExists = false) override;
        void disconnect() override;
        bool executeQuery(const std::string& query) override;
        std::vector<std::vector<std::string>> fetchResults(const std::string& query) override;
 
    private:
        class Impl;           // ÉùÃ÷ÄÚ²¿ÊµÏÖÀà
        Impl* m_impl;         // Ö¸ÏòÄÚ²¿ÊµÏÖÀàµÄÖ¸Õë
    };
}
 
#endif // SQLITE_DATABASE_H