debugging

This commit is contained in:
Martin Donnelly 2015-11-09 07:47:43 +00:00
parent 9c1d2325ad
commit 44c9a71095

View File

@ -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 = ;