Answer the question
In order to leave comments, you need to log in
Automatic completion of fields?
Hello. How to correctly implement that when a record is inserted into the table, the created_at, updated_at fields are automatically updated. And when updating records, only updated_at. Thank you.
Answer the question
In order to leave comments, you need to log in
https://www.postgresql.org/docs/current/static/ddl...
When updating either by a trigger or in the update query itself.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question