How i can use NOW() to update last changeing in Editor

How i can use NOW() to update last changeing in Editor

MbdesignMbdesign Posts: 17Questions: 0Answers: 0

I cant find a clean way to update a date field after i update some values with Datatables Editor.

Replies

  • allanallan Posts: 63,791Questions: 1Answers: 10,513 Site admin

    The best way is to use a database trigger.

    If that isn't an option, then the server-side events are the way to do it (although note that you can't currently use an SQL function as a value - you would need to get the time from your server-side code to populate the database if you can't use a trigger).

    Allan

This discussion has been closed.