This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
devnull69
update_onSave() ? or | how do i override the sql so that when update it has a where->()
the normal update is based on id what if i wanted to add a $hash for instance
update gp_robot_main
set main_path
= '/language/s', updated_at
= '2015-03-03 17:41:15' where id
= '1'
to
update gp_robot_main
set main_path
= '/language/s', updated_at
= '2015-03-03 17:41:15' where id
= '1' AND 'hash' = 'balhasdasdasdasdasdas';
how do i do this on a plugin update?
1-1 of 1