Open kiranrayala77 opened 2 years ago
db.executeSql('SELECT * FROM PannelListTable WHERE surveyid =?', [surveyId],(result) => { console.log('RESULT: '+ JSON.stringify(result.rows.item[0].paneldata)); setPannelDataDb(result.rows.item[0].paneldata) }, err => { console.error('Error: '+ err); });
db.executeSql('SELECT * FROM PannelListTable WHERE surveyid =?', [surveyId],(result) => { console.log('RESULT: '+ JSON.stringify(result.rows.item[0].paneldata)); setPannelDataDb(result.rows.item[0].paneldata) }, err => { console.error('Error: '+ err); });