How to get full query text in mysql funtrion -


i want make logs simple application. tell me how full query text launched trigger?

ex. in app i'm changing user surname , want insert query (update) trigger table logs. how text od update query?

create trigger updatee     after update on users     each row     delimiter $$     insert logs values(null,now(),"update",?query?)     delimiter ; 


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -