What is Nostr?
Helge Heß /
npub1sve…84dv
2024-10-28 22:50:09
in reply to nevent1q…a5ck

Helge Heß on Nostr: Just use different connections for different threads, exactly the same way you do it ...

Just use different connections for different threads, exactly the same way you do it w/ MySQL. Then everything will be fine, the issue is exclusively if you use a single *connection* from multiple threads. Which unlike in regular DB's is actually possible in SQLite (if SQLite is compiled w/ the right flags). But still not advisable.
By "handle" you mean a prepared statement? Yeah, the last-id is bound to the connection, not to a statement.
Author Public Key
npub1svetkp0j49gz064v9szutje235yxsscw4fexn5aahs6kzy7pwvfq5484dv