table_base
Base class for table definitions.
TableBase
Base class for Table classes.
The split between Table and TableBase is a bit arbitrary, mostly
dictated by preventing circular imports.
Source code in src/embar/table_base.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | |
column_names()
classmethod
Mapping of field names to unquoted column names.
Column names are allowed to be different to field names, so in queries we always need to map one to/from the other.
Source code in src/embar/table_base.py
35 36 37 38 39 40 41 42 43 44 | |
fqn()
classmethod
Get the "Fully Qualified Name" of the table (i.e. with quotes).
Source code in src/embar/table_base.py
28 29 30 31 32 33 | |
get_name()
classmethod
Get the table's database name.
Source code in src/embar/table_base.py
21 22 23 24 25 26 | |