Monday, March 5, 2018

How correctly save collection of id in DB? - development

How correctly save collection of id in DB?

I need to save collection of id in MySQL.

Exists to variants:

  1. As string: “1,2,3,4”
  2. 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