Storing arrays in MySQL?

前端 未结 6 736
无人共我
无人共我 2021-01-14 07:44

On the Facebook FQL pages it shows the FQL table structure, here is a screenshot below to show some of it (screenshot gone).

You will notice that some items are an

6条回答
  •  温柔的废话
    2021-01-14 08:49

    They might be using multiple tables with many-to-many relationships, but use joins and MySql's GROUP_CONCAT function to return the values as an array for those columns in one query.

提交回复
热议问题