How do you create a Database field 'updatedAt' that auto-updates?

Coming from Airtable where this is trivial, I can't figure out how to build an updatedAt field that auto-updates whenever the record is updated.

I guess it works very differently, and it could added into the create/update endpoints of each Table, but even though, how do you get the current timestamp in a Function Stack?

Edit: I figured there was a now option, which does exactly what I need.

Adding it for whoever would look for the same thing.

1 reply