Programmers to develop stealth function needs
Others
2020-02-10 17:15:38
views: null
Background code
- Important basic physical data can not be deleted, delete logic.
- The relationship between the structure of the tree, the lower branches when there is data, this level can not be deleted.
- To-many relationship, and there is more dependent on one, then delete the moment a need to verify whether Relevance.
- Many relationships, many relationships require a third table, a long time when a deletion, you can create a foreign key casecade delete cascading deletes redundant data in a relational table by table.
- Delete sql statement where the conditions must be clear (best just to delete by id).
Front-end interface
- Input data check box has not done
Origin www.cnblogs.com/aeolian/p/10791718.html