Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.3k views
in Technique[技术] by (71.8m points)

把 文章 回复 楼中楼都设计成一个表可行吗

rt

感觉一个表就可以区分了?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

只考虑功能实现,不考虑查询效率的话没什么问题。

从查询效率方面考虑的话最好把文章跟别的分开。而且一般文章与回复的长度限制不一样,应按需选择合适的字段类型和长度


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...