Multiple database support #25
-
Hi thanks again for putting this nice tool allowing integrating GRDB and the Share state possible. We currently have an application that uses TCA + Share State. We are considering moving to using SharingGRDB to back our data but currently seeing some limitation to be able to switch DB. Our app currently can connect to different DBs depending on which user is logged in, when trying to use sharing-grdb we've seen it only allow to call the What we've done so far is created a new dependency to manage the DB switching and extend the
With the above code it sort of works, we were able to use the dynamic query format like We are just wondering what we are doing is something that is reasonable and we should continue to explore or if the lib is not intended for such a case and we should stop and better with a pure GRDB approach? Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
@yliu342 This is a bug that wasn't present in the episode code but we must've forgotten to address it in the release. Will be fixed when this is merged and released! #26 |
Beta Was this translation helpful? Give feedback.
That should be totally sensible. Want to bump to 0.1.1 and see if things are fixed for you?