Exposed: Is there a way to automatically get created_at, last_modified_at columns in tables?

Created on 18 Nov 2019  路  2Comments  路  Source: JetBrains/Exposed

documentation

Most helpful comment

This should help you:
https://github.com/JetBrains/Exposed/wiki/DAO#auto-fill-created-and-updated-columns-on-entity-change

All 2 comments

This should help you:
https://github.com/JetBrains/Exposed/wiki/DAO#auto-fill-created-and-updated-columns-on-entity-change

Thanks, but it's a bit hard to reason about, the whole thing is entwined with the IntIdTable and IntEntity. I still haven't been able to isolate just that part of the logic. A minimal example would make much better documentation.

Just my two cents 馃槃

Was this page helpful?
0 / 5 - 0 ratings