rowyio / rowy

Low-code backend platform. Manage database on spreadsheet-like UI and build cloud functions workflows in JS/TS, all in your browser.
http://rowy.io
Other
5.95k stars 480 forks source link

Missing Links in documentation #1564

Open brianzaubar opened 5 days ago

brianzaubar commented 5 days ago

Some property links are leading to nothing here: https://docs.rowy.io/field-types/supported-fields For example the "Timestamp" link in "Date". I just would like to know on how to set date and time automated by its creation or modification time, but the documentation is incomplete.

neehhaa06 commented 5 days ago

Hello @brianzaubar :)

fix: #1564

To manage automatic timestamps, create a BaseModel class with createdAt and updatedAt properties, initializing createdAt in the constructor. Include an update method to refresh updatedAt whenever the record is modified. Classes extending BaseModel will inherit these timestamp functionalities, ensuring consistent timestamp management across your application.