Reputation: 5481
Is it possible to create an iphone app which manages two separate sqllite DBs? One for static content that should be refreshed by the update process and a second one with user data that doesn't get overridden by the update?
Upvotes: 1
Views: 225
Reputation: 348
You can also use the attach statement from SQLite to make one database visible to the other:
http://www.sqlite.org/lang_attach.html
That way, you only need one connection for accessing both databases. Replacing or updating the static content will then have no effect on the user data.
Upvotes: 2
Reputation: 5432
Yes offcourse it is possible. Make sure the names of both the DBs are not the same.
Upvotes: 2