Database package¶
Database.database module¶
The database module: Database for application.
Provides globals and functionality to support the applications required SQLite database and ORM modelling.
- Src.Database.database.db = <SQLAlchemy>¶
The SQLAlchemy database global
- Src.Database.database.initalize_db(app)[source]¶
Creates and integrates the SQLite database with the current Flask application.
- Parameters:
app (Flask applicaton) – The current flask application to initialize the database with
- Src.Database.database.ma = <flask_marshmallow.Marshmallow object>¶
The Marshmallow schema management global