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
const named = require('yesql').pg;
...
const sql = `select name, value, to_char(created_at, 'YYYY-MM-DD HH24:MI:SS') from table1 where created_at > :from and created_at <= :to;`;
return named(sql)({from: new Date(0), to: new Date()});
Got following error:
Error: Missing value for statement.
MI not provided for statement:
...
The text was updated successfully, but these errors were encountered:
Code snippet:
Got following error:
The text was updated successfully, but these errors were encountered: