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 .

Menu