pallets-eco / flask-sqlalchemy

Adds SQLAlchemy support to Flask
https://flask-sqlalchemy.readthedocs.io
BSD 3-Clause "New" or "Revised" License
4.22k stars 899 forks source link

Bring up URI check for sqlite engine #1315

Open Sparrow0hawk opened 7 months ago

Sparrow0hawk commented 7 months ago

Changes

This PR brings up the check for a SQLite URI within the _apply_driver_defaults function to allow for earlier detection of if the database should run in-memory.

It adds a test to check that a database file is not created when using a SQLite URI filename for an in-memory database.

Checklist: