How does Mini Program store a lot of data?

can WeChat Mini Programs store a large amount of data locally, about 2W pieces of content? Can
be stored in sqlite?


official document: the upper limit of storage for the same Wechat user and Mini Program is 10MB .

and there is no such thing as sqlite .

you can do paging loading (this has to be discussed with the person who writes the data interface). It is not recommended to store so many things in Mini Program. Mini Program himself is like something on a web page. A cycle of 2W pieces of data will get stuck.

if you have to save, use wx.setStorage .

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b9b442-2f25f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b9b442-2f25f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?