目录
1.Cannot add or update a child row: a foreign key constraint fails
1.Cannot add or update a child row: a foreign key constraint fails
新增,更新一个表的记录的时候,需要判断数据中的外键是否在被关联的表中存在。
目录
1.Cannot add or update a child row: a foreign key constraint fails
新增,更新一个表的记录的时候,需要判断数据中的外键是否在被关联的表中存在。