simple-cpp-mysqlcppconn-wrapper:简单的C ++ MySQL包装器

时间:2024-05-18 18:46:19
【文件属性】:

文件名称:simple-cpp-mysqlcppconn-wrapper:简单的C ++ MySQL包装器

文件大小:4KB

文件格式:ZIP

更新时间:2024-05-18 18:46:19

C++

C ++ MySQL包装器 简单的C ++ MySQL包装器 用法 # include < iostream> # include " mysqlWrapper.h " mysqlWrapper db; int main () { db. connect_uc ( " localhost " , " root " , " 123456 " ). switchDb ( " db_name " ); mysqlResult res = db. prepare ( " SELECT * FROM test_table LIMIT 0,1 " ). execute (); res. next (); std::cout << res. getString ( " title " ); // update query db. prepare ( " UPDATE test_table


【文件预览】:
simple-cpp-mysqlcppconn-wrapper-master
----main.cpp(1KB)
----README.md(1KB)
----mysqlWrapper.h(5KB)
----LICENSE(1KB)

网友评论