TableDef¶
-
class
tollan.utils.db.TableDef[source]¶ Bases:
tollan.utils.namespace.NamespaceA class that holds definitions to a table.
Methods Summary
init_table(db)Setup table metadata for this table def in
db.Methods Documentation
-
init_table(db)[source]¶ Setup table metadata for this table def in
db.- Parameters
- db
SqlaDBorSQLAlchemy The db instance to which this table is added.
- db
-