jdxi_editor.core.db.connection
This module provides a utility class DatabaseConnection that offers a structured approach for handling SQLite database interactions. It includes features such as ensuring database directories exist, managing SQLite connections, and executing multiple SQL statements transactionally.
- Classes:
DatabaseConnection: A wrapper for managing SQLite database connections.
Classes
A wrapper class for managing SQLite database connections. |
Module Contents
- class jdxi_editor.core.db.connection.DatabaseConnection(db_path: pathlib.Path)[source]
A wrapper class for managing SQLite database connections.
- get_connection() sqlite3.Connection[source]
Get a SQLite connection with proper settings.