server.web.db.engine
Attributes
Functions
|
Return the lazily-initialised SQLAlchemy engine. |
|
Get the SQLAlchemy sessionmaker singleton. |
|
|
|
Lower-case dialect string, e.g. 'mysql', 'sqlite', 'postgresql'. |
|
Check if the current database dialect is MySQL. |
|
Check if the current database dialect is SQLite. |
Module Contents
- server.web.db.engine.get_engine() sqlalchemy.engine.Engine[source]
Return the lazily-initialised SQLAlchemy engine.
- server.web.db.engine.get_sessionmaker() sqlalchemy.orm.sessionmaker[source]
Get the SQLAlchemy sessionmaker singleton.