Date: 2021-09-22 09:11:22
Score: 4.5
Report link

I have been struggling for a similar problem. But my problem is that "my preference" is not a single piece of data, but a list, a preference list that consists of N elements. Image that I build a list of my favourite songs, which allows me to list top N songs as No 1, No 2 until No N. How do I design my database? I get suggestions that either object is used or the preference list to be comma separated strings. But I am not satisfied with either, any good suggestions? Oh, I am not happy with object because of its complexity of data maneuverability.

  • Blacklisted phrase (1): How do I
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2): a similar problem
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Wangbei Gao