edbob/docs/edbob.db.rst
2012-03-24 20:53:24 -05:00

30 lines
610 B
ReStructuredText

:mod:`edbob.db`
===============
.. automodule:: edbob.db
.. attribute:: engines
A dictionary of configured :class:`sqlalchemy.Engine` instances available to
the application.
.. attribute:: engine
A reference to the default :class:`sqlalchemy.Engine` instance for the
application.
.. attribute:: metadata
A reference to the global :class:`sqlalchemy.MetaData` instance for the
application.
.. class:: Session
A :class:`sqlalchemy.orm.Session` class for use within the application.
.. autofunction:: get_setting
.. autofunction:: save_setting
.. autofunction:: needs_session