mardi 21 juillet 2015

Python: sqlite3 in-memory in serialized mode

I need a(n) SQLite in-memory database which can be used by multiple threads. I've read here on SO that I need serialized mode for that, which is enabled with this flag: SQLITE_CONFIG_SERIALIZED.

The question is: how can I initialize the database in serialized mode using Python's sqlite3? I didn't find anything like that in the docs.

Aucun commentaire:

Enregistrer un commentaire