SQLite Forum

Dispatch Sqlite Instance with event loop
A prepared statement is associated with the connection that was used to create it (the 'db' argument of the [sqlite3_prepare](https://www.sqlite.org/c3ref/prepare.html) functions).

When you pass a connection to another thread you should also pass to the same thread the set of the preapared statements associated with that connection.