How to Update in PostgreSQL
-- All rows
update users set updated_at = now();
-- Some rows
update users set updated_at = now() where id = 1;
Spread the word
Tweet-- All rows
update users set updated_at = now();
-- Some rows
update users set updated_at = now() where id = 1;
Spread the word
Tweet