How correctly save collection of id in DB?
I need to save collection of id in MySQL.
Exists to variants:
- As string: “1,2,3,4”
- As json
Which is more correctly?
from Laravel Questions and Answers https://laravelquestions.com/laravel/how-correctly-save-collection-of-id-in-db/
via Lzo Media
No comments:
Post a Comment