DatabaseManager isolates database access in Bark’s persistence layer. It opens a SQLite file and turns table creation, record changes, and queries into reusable methods. section 6.3.1
A small SQLite-backed manager
Constructing DatabaseManager with a database filename creates a sqlite3 connection. Its shared execution helper runs SQL inside the connection context, while methods such as add() and select() supply values separately from SQL statements.
