==================
🏆 What makes this class efficient and safe?
✅ Prevents memory leaks
Uses async with for cursors, preventing leaks.
Automatically closes the connection (await db.close()).
Manages the connection without creating new connections for each request.
✅ Flexible
You can get data one row at a time (fetch_stream), if there is a lot of data.
Supports bulk execution (execute_many), which is faster when inserting large data.
✅ Simple and readable
Works with aiosqlite.Row, allowing you to access fields as a dictionary (row["name"]).
----
This class solves all the main problems of aiosqlite: ✔ Safe connections (no memory leaks).
✔ Flexibility (fetchone, fetchall, fetch_stream methods).
✔ Suitable for FastAPI and asynchronous services.
✔ Optimization of work with SQLite (bulk inserts, lazy queries).
🔥 Ready to use in any asynchronous project! 🚀
----
Features
--------
- Class SecurityAsyncSQLite