PostgreSQL

How to Update in PostgreSQL

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

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