Support the ongoing development of Laravel.io →
Requests Database Views
Last updated 2 years ago.
0

It depends on your approach.

You could save them all in one DB field, as JSON.

Also could have a dedicated table with a relationship.

My guess is you want to hit queries based on selections, so you will be better with the 2nd option.

0

iboinas I will go with the second option. thanks.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

osherdo osherdo Joined 26 Apr 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.