SQL statement after_update hook
Posted: 2014-07-02 11:51
I want to execute this sql statement after update an item:
I have added the statement as an "Advanced lookup option" - but it don't work. (with MySQL Workbench everything works fine)
How can i use the statement with a hook? (after_update)
Thanks in advance.
Code: Select all
UPDATE `geraete`
SET `geraete`.`rueckl`="1"
WHERE `geraete`.`lieferdat2` IS NOT NULL;
How can i use the statement with a hook? (after_update)
Thanks in advance.