3
0
Fork 0

feat: add basic db handler, for tracking counter values

more to come i'm sure, this is all i need so far
This commit is contained in:
Lance Edgar 2024-12-13 17:26:07 -06:00
parent 80a983f812
commit 51accc5a93
7 changed files with 177 additions and 2 deletions

View file

@ -0,0 +1,6 @@
``wuttjamaican.db.handler``
===========================
.. automodule:: wuttjamaican.db.handler
:members:

View file

@ -128,6 +128,14 @@ Glossary
Most :term:`apps<app>` will have at least one :term:`app
database`. See also :doc:`narr/db/index`.
db handler
The :term:`handler` responsible for various operations involving
the :term:`app database` (and possibly other :term:`databases
<database>`).
See also the :class:`~wuttjamaican.db.handler.DatabaseHandler`
base class.
db session
The "session" is a SQLAlchemy abstraction for an open database
connection, essentially.

View file

@ -71,6 +71,7 @@ Contents
api/wuttjamaican.conf
api/wuttjamaican.db
api/wuttjamaican.db.conf
api/wuttjamaican.db.handler
api/wuttjamaican.db.model
api/wuttjamaican.db.model.auth
api/wuttjamaican.db.model.base