c1.execute('insert into db.weather values(\"'+stime.Format('yyyy-MM-dd HH:mm:ss.SSS')+'\",'+parseInt(Math.random()*100)+','+parseInt(Math.random()*300)+','+parseFloat(Math.random()*10+30)+',"Note");');
}
}
catch(err){
}catch(err){
conn.close();
throwerr;
}
...
...
@@ -98,7 +125,8 @@ catch (err) {
varretrievedData;
try{
c1.query('select * from db.weather limit 5 offset 100;',true).then(function(result){