# squarelibraries

Andrew Watson

10/05/2023, 11:01 PM
Hey everyone, I'm trying to use SqlDelight KMP + Coroutines/Flow + Compose KMP. I've got a Flow that is supposedly going to emit from one of the tables being utilized in a Compose KMP UI, but when DB changes occur nothing happens. Has anyone seen this?
Update: I got things working as expected; database changes now emit properly to the flow. The issue was that I had two different in-memory instances of the database. I need to be sure I was injecting the database instance/repository as a singleton
👍 1