neuralib.sqlp.cli.Database

class neuralib.sqlp.cli.Database[source]

Bases: object

A class for the common usage of using sqlite.

sqlp_debug_mode = False
abstract property database_file: Path | None

sqlite database filepath

abstract property database_tables: list[type]

supporting tables

open_connection()[source]

open a connection to the database.

Return type:

Connection