sqlite
会编程的打字员
这个作者很懒,什么都没留下…
展开
-
sqlite3增删改查
增删改查 查询数据 sqlite3 *sql; std::string pathname=""; std::string sql_line="select * from tablename";//查询所有列 if(sqlite3_open_v2(pathname.c_str(),&sql,/*打开方式*/,NULL)) {//打开数据库成功 sqlite3_stmt *stmt=NULL...原创 2020-07-02 10:35:01 · 490 阅读 · 0 评论 -
sqlite3快速插入数据
#ifdef _DEBUG #pragma comment(lib,“sqlite3-mtd-unicode.lib”) #else #pragma comment(lib,“sqlite3-mt-unicode.lib”) #endif // DEBUG sqlite3 *db = NULL; std::string path = "D:/C++Project/sqlite3-test/Debu...原创 2020-04-09 13:32:15 · 1856 阅读 · 0 评论