Reputation: 583
Is it possible to have a sqlite db in memory in iOS?
Upvotes: 3
Views: 2002
Reputation: 54445
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.
Upvotes: 5