SQLite Forum

C/C++ API: Is it posiible to clone database connection?
Login
I suggest you look into a design pattern known as "[Model-View-Controller](https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller)", or "MVC". I dare say that if you were using it, your problem first posed in this thread would not have arisen.