如何从 mysqlx::Row 获取 blob 数据?

问题描述

我正在使用 MysqLx 从 MysqL 服务器获取数据。

MysqLx::Session sess("127.0.0.1",33060,"user",pwd());
auto db = sess.getSchema("adb");
auto table = db.getTable(table_name());
table.select("id,blobcolumn");
std::list<MysqLx::Row> rows = res.fetchAll();
for (auto& row : rows) {
    auto dvalue=row[i].get<double>();
}

如何读取blob数据?喜欢row[i].get<stream>()

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)