增加是否打开

This commit is contained in:
xx
2024-06-14 01:49:26 +08:00
parent 1d7299786c
commit 14de0ad733

View File

@@ -17,7 +17,7 @@ namespace ylib
bool exec(const std::string& sql);
bool query(const std::string& sql, std::vector<std::map<std::string, std::string>>& data);
int64 count(const std::string& sql);
bool is_open() { return m_db != nullptr; }
int64 last_insert_id();
private:
struct ::sqlite3* m_db;