Welcome Guest, Not a member yet? Register   Sign In
MySQLi delete in multiply tables
#15

Cascading deletion in several tables is what I can imagine, i.e. you have a parent table and children tables and you don't want to leave orphaned records. This cascading deletion could be implemented as database triggers, or trough PHP code - as so called "observers".

In this light I can not see sense in the mentioned code example within the documentation. Maybe it should be simply removed.
Reply


Messages In This Thread
MySQLi delete in multiply tables - by xmod - 05-15-2015, 08:02 AM
RE: MySQLi delete in multiply tables - by gadelat - 05-16-2015, 01:38 AM
RE: MySQLi delete in multiply tables - by xmod - 05-16-2015, 10:59 AM
RE: MySQLi delete in multiply tables - by CroNiX - 05-16-2015, 04:01 PM
RE: MySQLi delete in multiply tables - by xmod - 05-17-2015, 01:08 AM
RE: MySQLi delete in multiply tables - by gadelat - 05-17-2015, 05:25 AM
RE: MySQLi delete in multiply tables - by xmod - 05-17-2015, 05:45 AM
RE: MySQLi delete in multiply tables - by CroNiX - 05-17-2015, 09:55 AM
RE: MySQLi delete in multiply tables - by Narf - 05-18-2015, 12:47 AM
RE: MySQLi delete in multiply tables - by CroNiX - 05-18-2015, 07:39 AM
RE: MySQLi delete in multiply tables - by Athov - 05-18-2015, 07:53 AM
RE: MySQLi delete in multiply tables - by Narf - 05-20-2015, 03:20 PM
RE: MySQLi delete in multiply tables - by ivantcholakov - 05-21-2015, 11:00 AM
RE: MySQLi delete in multiply tables - by Narf - 07-02-2015, 01:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB