how to read an infotable having integer value
Hello Community,
I am getting the data in an infotable but i am unable to read it.
const SERVICENAME = "getPieChartDataOnMashup";
logger.info(me.name + " :: " + SERVICENAME + " :: Start Service");
let projectName = me.name.match(/^[^.]*/)[0];
let ab;
try {
ab = Things["V2.MYSQLDatabaseController"].SQLQuery_GetEntriesForPieChart({
lineName: lineName,
StartDate:startDate,
EndDate:endDate
});
logger.info(ab.rows[0]);
} catch (e) {
logger.error("There is an error in service getPieChartDataOnMashup DataBase service.SQLQuery_GetEntriesForPieChart " + e);
}
let result = ab;
the below pic is for logger ab.rows[0]

the below is the output of the service. i am unable to read in logger ioEntries like ab.rows[0].ioEntries the values is 0 but i am getting undefined. Why? i am getting this data from SQL query and i have set the ouput as an infotable with two fields of number.


