【文件属性】:
文件名称:mysql-cpp:C++ MySQL 包装器
文件大小:3KB
文件格式:ZIP
更新时间:2021-07-12 07:36:31
C++
名称
mysql-cpp - 一个围绕 libmysqlclient 的包装器
综合系统
#include
#include
#include
#include "mysql.hpp"
int main()
{
mysql sql{};
sql.connect("localhost", "test", "test", "test", 0, 0, 0);
{
Stmt stmt = sql.prepare("DELETE FROM `test` WHERE `id` = ?");
std::string s;
while (std::cin) {
getline(std::cin, s);
if (s.size(
【文件预览】:
mysql-cpp-master
----Makefile(245B)
----test.cpp(969B)
----README.md(748B)
----mysql.hpp(6KB)