debugging
This commit is contained in:
parent
9c1d2325ad
commit
44c9a71095
@ -48,10 +48,12 @@ router.get('/', function(req, res, next) {
|
||||
|
||||
router.get('/all', function(req, res, next) {
|
||||
"use strict";
|
||||
|
||||
console.log('Selecint all..');
|
||||
temp_db.all('SELECT * from temp', function(err, rows) {
|
||||
|
||||
var out = [];
|
||||
console.log(err);
|
||||
console.log(rows);
|
||||
rows.forEach(function (row) {
|
||||
console.log(row.date + ', ' + row.reading);
|
||||
// var t = ;
|
||||
|
Loading…
Reference in New Issue
Block a user