smartdb
smartdb copied to clipboard
:maple_leaf: A SQLite client library written in Modern C++
Results
1
smartdb issues
Sort by
recently updated
recently updated
newest added
``` bool prepare(const std::string& sql) { // 释放上一次的资源,否则内存泄漏 if(statement_){ sqlite3_finalize(statement_); statement_ = nullptr; } code_ = sqlite3_prepare_v2(db_handle_, sql.c_str(), -1, &statement_, nullptr); return code_ == SQLITE_OK; } ``` ``` bool close()...