Skip to content
Discussion options

You must be logged in to vote

Hi @fweez, the only thing that comes to mind is the fact that our tools prefer for your app to be using a single database connection (DatabaseQueue or DatabasePool), but that is probably a good recommendation for any SQLite-based application. And further, we require you put that database connection into the dependencies system using prepareDependencies. See the docs here.

Other than that, everything in this library is 100% additive to an existing GRDB application. You should be able to use @SharedReader(.fetchAll(…)) with a raw SQL query targeting your schema, or use @SharedReader(.fetch(…)) with a FetchKeyRequest conformance that uses GRDB's query builder.

Please do bring up any issues y…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fweez
Comment options

Answer selected by fweez
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