How to Update in PostgreSQL

-- All rows
update users set updated_at = now();

-- Some rows
update users set updated_at = now() where id = 1;

Previous

Next

Ready for a modern SQL editor?