How to implement tag counting

前端 未结 4 1593
再見小時候
再見小時候 2021-02-03 13:46

I have my tags desinged like this in my database:

Table: Item 
Columns: ItemID, Title, Content 

Table: Tag 
Columns: TagID, Title 

Table: ItemTag 
Columns: Ite         


        
4条回答
  •  滥情空心
    2021-02-03 14:31

    You can use another column in Item to store tag count and synchronize it when add or remove tags.

提交回复
热议问题