第三步:用合适的分离标记替换rawdata . xml中的主键以及外键值。
Step 3: Replace the primary and foreign key values in rawdata.xml with appropriately abstracted tokens.
ON DELETE CASCADE — 当一条记录从父表中删除时,子表中的所有记录以及匹配的外键值都全部被删除。
ON DELETE CASCADE—When a record is deleted from the parent table, all records in the child table with matching foreign key values are also deleted.
当ON DELETE CASCADE规则被激活时,当一条记录从父表中删除时,子表中的所有记录以及匹配的外键值都被删除。
When an ON delete CASCADE rule is active, all records in the child table with matching foreign key values are deleted when a record is deleted from the parent table.
应用推荐