aiosqlite
aiosqlite copied to clipboard
Question: aiosqlite vs thread using sqlite3 Python driver
Hi all
- What is advantage to use aiosqlite over a normal (blocking) sqlite3 Python driver in another thread?
- What is advantage to use to use a normal (blocking) sqlite3 Python driver in a another thread over aiosqlite?
Thank you
@beyonlo Thanks to this package, you can quickly pre-construct models and cruds with async sqlalchemy. After successful tests, switch from aiosqlite driver to production postgres asyncpg. However, I know about heated discussions related to asynchrony in sqlalchemy
@ArtemIsmagilov I think that you answered the wrong person. My question is not about sqlalchemy.
Thank you.
What is advantage to use aiosqlite over a normal (blocking) sqlite3 Python driver in another thread?
This provides a friendly async interface to sqlite3-in-another-thread. The advantage is the API.
What is advantage to use to use a normal (blocking) sqlite3 Python driver in a another thread over aiosqlite?
Control? 🤷♀️