![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi folks, I'm a humble non-programmer who just wants to read a float table value into a float variable. ---------------------------------------------------------------------------- ------------- Query query = con.query(); query << "select kwh from basic120 order by time desc limit"; // Last value this column. mysqlpp::ResUse res = query.use(); ??? float kwh = ??? ---------------------------------------------------------------------------- ------------- I've tried using the method Fields but can't get it to compile. |
![]() |
| Thread Tools | |
| Display Modes | |
| |