Mongodb database (newbie) problem
怪我咯
怪我咯 2017-05-17 10:04:09
0
1
701

The requirement is:
When the number of comments on an article changes, the cNumber in the article also changes. Can this be achieved by designing a Schema? Articles and comments are two Schema

(Novice to mongodb, sorry for the inaccurate question)

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(1)
某草草

It’s a database design problem. Shouldn’t cNumber read the number of comments? It doesn’t need to be stored in the article.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!