79728756

Date: 2025-08-07 14:52:03
Score: 1
Natty:
Report link

.toISOString() is a JS function, not PostgreSQL, so it can't be passed raw to the db.

You'll need to calculate that value in the db using a PostgreSQL RPC or a built-in function like TO_CHAR(created_at, 'YYYY-MM-DD"T"HH24:MI:SSZ').

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): is a
  • Low reputation (0.5):
Posted by: Bob VanLonkhuyzen