I am using the Retool Postgresql database. I have a date column. Can I set its default value using a formula or expression (e.g., today or the value in another date column plus 30 days)? Thanks.
yes,you can use moment library which is integrated in retool
1 Like
Thank you for your quick reply. I will look into that.
1 Like
For future reference, I think the better way (especially given that the moment library is no longer under development) is to use SQL default values, such as NOW() or CURRENT_DATE.
1 Like