Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

sqlite in memory db on iOS

Is it possible to have a sqlite db in memory in iOS?

like image 485
Jody G Avatar asked May 29 '26 22:05

Jody G


1 Answers

This works as you'd expect within iOS - you can simply open an in-memory database using :memory: instead of the file name, as per usual.

That said, you'll obviously need to be aware of the amount of memory you're using due to the lower available memory level.

like image 120
John Parker Avatar answered Jun 01 '26 22:06

John Parker