Skip to content

Can GRDB safely be used from multiple (extension) targets in a shared app group? #1343

Answered by groue
hannesoid asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @hannesoid, please check the Sharing a Database guide, full of NSFileCoordinator and other tips and techniques.

Don't miss the initial advice of the guide:

Preventing errors that may happen due to database sharing is difficult. It is extremely difficult on iOS. And it is almost impossible to test.
Always consider sharing plain files, or any other inter-process communication technique, before sharing an SQLite database.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@groue
Comment options

groue Mar 1, 2023
Maintainer

@hannesoid
Comment options

@groue
Comment options

groue Mar 2, 2023
Maintainer

@hannesoid
Comment options

@groue
Comment options

groue Mar 2, 2023
Maintainer

Answer selected by hannesoid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants