2

I am trying to save a large collection of Json array which contains objects to mysql. I am using larval. and I created a model for object. so do I need to store it as a plain text or save to database using the model. which will be more efficient

  • can't you use jsonfields? – e4c5 Jun 05 '16 at 08:47
  • 1
    Possible duplicate of [Storing Data in MySQL as JSON](http://stackoverflow.com/questions/3564024/storing-data-in-mysql-as-json) – Sangar82 Jun 05 '16 at 09:04
  • saving large json Arrays to database is similar to storing large String.you can use jsonfields. but considering performance you should parse objects and save them independently. –  Feb 15 '17 at 08:12

0 Answers0