What actually should I import from 4 packages of sharing-grdb? #48
|
According to your docs: But there are 4 packages: |
Replies: 1 comment 1 reply
|
Hi @gerchicov-vg, thanks for bringing this up! We should update the readme/docs to be clearer. Most likely you only need to import SharingGRDB. SharingGRDBCore is SharingGRDB without the macros, which you would only want if building a library, but not what you want if you are building an app. And StructuredQueriesGRDB is for if you want the tools for making SQLite requests with GRDB using our query builder, but don't need any of the tools from SharingGRDB, such as Does that answer your question? |

Hi @gerchicov-vg, thanks for bringing this up! We should update the readme/docs to be clearer. Most likely you only need to import SharingGRDB.
SharingGRDBCore is SharingGRDB without the macros, which you would only want if building a library, but not what you want if you are building an app. And StructuredQueriesGRDB is for if you want the tools for making SQLite requests with GRDB using our query builder, but don't need any of the tools from SharingGRDB, such as
@FetchAll, etc...Does that answer your question?