findUniqueSites is working, using basic site template /visits

This commit is contained in:
2020-01-06 17:39:08 -05:00
parent d296e5ca43
commit ba018c685c
6 changed files with 55 additions and 1 deletions

View File

@ -3,7 +3,9 @@ var con = require('./db');
sql = "INSERT INTO visits (date, img, site_id) VALUES ?";
val = [
['10-15-2019','https://seanland.ca', '1'],
['10-17-2019','https://seanland.ca', '1']
['10-17-2019','https://seanland.ca', '1'],
['01-17-2020','https://seanland.ca', '134'],
['11-23-2019','https://seanland.ca', '15']
];
con.query(sql, [val], function(err, res){