I am unable to convert an std::string to SQLString which is used for most functions as parameters.
I have tried:
const string query ("select * from table_name");
SQLString query_sql(query);
-- didn't work
string query("select * from table_name");
SQLString query_sql(query);
-- didn't work
string query("select * from table_name");
SQLString query_sql(query.c_str());
-- didn't work
I am using Connector/C++ 1.1.3
I have tried:
const string query ("select * from table_name");
SQLString query_sql(query);
-- didn't work
string query("select * from table_name");
SQLString query_sql(query);
-- didn't work
string query("select * from table_name");
SQLString query_sql(query.c_str());
-- didn't work
I am using Connector/C++ 1.1.3