You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.
result[0] = "SELECT uid, value, to_char(created_at, 'YYYY-MM-DD HH24:MI:SS') AS created_at FROM series WHERE uid = $1 ORDER BY created_at DESC LIMIT 1;";
result[1] = [uid];
} else {
var start = '' + year + '-' + month + '-' + day + ' 00:00:01';
var end = '' + year + '-' + month + '-' + day + ' 23:59:20';
result[0] = "SELECT uid, value, to_char(created_at, 'YYYY-MM-DD HH24:MI:SS') AS created_at FROM series WHERE created_at >= $1 AND created_at < $2 AND uid = $3 ORDER BY created_at;";