Key differences between asqlite and sqlite3
masterWhen using asqlite instead of the standard sqlite3 module, note the following default behaviors:
- Journal Mode: Connections are created with
journal_modeset towal(Write-Ahead Logging). - Foreign Keys: Foreign key constraints are enabled by default.
- Transactions: Implicit transactions are turned off.
- Row Factory: The
row_factoryis set tosqlite3.Rowby default. - Connection Pooling:
asqliteprovides anasqlite.Poolfor managing multiple connections.