I have a mysql database. What I would like to do is perform an arbitrary action on it and then figure out what has changed. Something like that:
before();
perform_action();
diff();
I want it to output something like:
Row added in table_0 ]details]
Row added in table_1 [details]
Row modified in table_5 [details]
Row deleted in table_2 [details]
Any ideas?
Further clarification: do you know how in stackoverflow, if you check for changes after posting, you can see red lines / green highlights that indicate what was changed? I want something similar, but for mysql databases.
source
share