I'm trying to do the most simplest of things, convert a field from a fetched row into my C++ double variable.
Connector 1.1 used a simple 'getDouble', i.e.
double aval = res->getDouble("cash_value"); //res is Resultset, cash_value a field
I can't seem to find any way to perform this using the new (i.e. 8.0) connector.
I've no problem running the select, accessing the rows in the ResultSet.
Thanks in advance for any help on this.
Embarrassingly simple question, shameful that no simple documentation exists on this.
Connector 1.1 used a simple 'getDouble', i.e.
double aval = res->getDouble("cash_value"); //res is Resultset, cash_value a field
I can't seem to find any way to perform this using the new (i.e. 8.0) connector.
I've no problem running the select, accessing the rows in the ResultSet.
Thanks in advance for any help on this.
Embarrassingly simple question, shameful that no simple documentation exists on this.