Should i store images in SQLite database?

前端 未结 2 466
遇见更好的自我
遇见更好的自我 2021-01-23 18:36

I need to store 100 images and sounds files in SQLite. Is it possible to store this data?

How many MB of data can be stored in SQLite?

Regards

Aswan

相关标签:
2条回答
  • 2021-01-23 19:16

    It would be best to store the files in the filesystem or memory card, then reference to them in the SQLite database, with columns such as _id and fileLocation.

    0 讨论(0)
  • 2021-01-23 19:31

    I would store the files as - well - files. If you store them in SQLite then they need to fit in memory.

    0 讨论(0)
提交回复
热议问题