Level 122
Can you reorganise your data so that you DONT save the tags as a comma separated list, and instead use a pivot table?
How many tags do you expect to have in total?
Hello developers, I have 2 tables namely posts and tags, column as below.
posts: id, title, description, tag_ids tags: id, tag_name
I have saved multiple id in comma separated format in tag_ids column. Now I want to fetch all the posts along with tags details from tags table in array format with each post. So, can anyone help me out.
Note: I can't create a intermediate table for it. So, solution must be without it.
Please or to participate in this conversation.