The situation: i make some changes in the database, then do some code and then return to the initial values of the affected rows. Is it possible to restore rows to the recent values after changes with some function?
As i see it now: read all the data into an array, then perform the necessary changes and return an array of all the data back.