4
想问下 这种算投机取巧吗
source link: https://www.v2ex.com/t/800291
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
想问下 这种算投机取巧吗
因为刚来这个公司 所以每做一个功能的时候基本都要看之前的代码,突然看到一个注释
具体的就是更新那种关联关系的时候 比如 A 当前关联 1,2 ,3 后面更新后 A 关联 2,3,4 ;之前我还真像注释里说的一样 先删除 再添加,感觉除了自增键容易变大外 数据不大的情况下 感觉也没啥呀。。
15 条回复 • 2021-09-07 12:06:50 +08:00
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK