.onUpdateNow() for postgresql?

is that possible?
2 Replies
Noahh
Noahh14mo ago
This functionality is not in postgres itself, you should use Triggers to simulate it: https://aviyadav231.medium.com/automatically-updating-a-timestamp-column-in-postgresql-using-triggers-98766e3b47a0
Medium
Automatically updating a timestamp column in PostgreSQL using Triggers
Keeping a record of when was a table last modified is very crucial and important for us. Unlike MySql, Postgres doesn’t come with inbuilt…
West side ⁉
West side ⁉14mo ago
Will do, thanks Noahh!
Want results from more Discord servers?
Add your server