MySQL C++ connector setBigInt
MySQL C++ connector setBigInt
所以PreparedStatement::setBigInt()以SQLString作为值参数?c++中是否没有足够大的值来容纳BigInt类型所能容纳的?如果我在c++中使用unsigned long,会怎样?我需要做些什么来将这个unsigned long存储在BigInt字段中?
使用setUInt64
与uint64_t:
void sql::PreparedStatement::setUInt64(unsigned int parameterIndex, uint64_t value);
bigint是64位整数,所以为什么不能使用unsigned long long
为UNSIGNED BIGINT
列?
这可能取决于您使用的适配器。你有参考文档的链接吗?
相关文章:
- mysql C++ connector [mysql-connector-c++-8.0.19-linux-glibc2
- 在 MySQL/Connector C++中使用 SQL 联接
- 如何在MySQL Connector/C++ 8.0中使用DATETIME?
- 如何使用MySQL Connector and Make设置C++项目
- C++ - Mysql connector
- 如何使C++Mysql Connector与Visual Studio 2019一起使用?
- 使用 MySQL Connector C++ 链接 mysqlcppconn-static 时出现问题
- MySql connector-c++不会在QtCreator中链接,但在Raspberry pi3上本地工作正常
- 尝试在Windows上构建MySQL-Connector-CPP
- 在Windows上的DEBUG,VS2K17上的调试中的MySQL-Connector C 应用程序
- 我正在使用 mysql-connector-c++ 1.1.9,但我想通过套接字而不是 tcp 连接到 mysql 数据库
- MySQL-connector-C++ 8.0 连接被拒绝
- 使用 CMake 和 C++ 运行 mysql-connector
- Visual Studio Name Mangling "YAPEAV" and Mysql connector
- 如何解决使mysql-connector-c++-1.1.7错误
- MySQL Connector for C++| MySQL_Connection::setReadOnly()在set
- MySQL C++ Connector UPDATE
- MySQL C++ Connector
- 我们什么时候在使用Connector/c++的代码中释放对象?
- MySQL C++ connector setBigInt