Do you mean an UPDATE trigger that updates a timestamp on a table each time you sent an UPDATE to so

Do you mean an UPDATE trigger that updates a timestamp on a table each time you sent an UPDATE to some table? If so I've been using exactly that for as long as I've been using D1

CREATE TRIGGER trigger_name AFTER UPDATE ON table BEGIN UPDATE another_table SET timestamp=UNIXEPOCH('NOW') WHERE column=some_val; END
Was this page helpful?