SchemaColumnNames#
- class astropathdb.db_io.build_astrodb.SchemaColumnNames#
This class defines the output table names from the information schema.
It is used when building the sqlalchemy database mappings.
- Parameters:
column_name – the string the
column_namefrom the database information schema will be renamed to.table_name – the string the
table_namefrom the database information schema will be renamed to.primary_key – the string the
primary_keyfrom the database information schema will be renamed to.data_type – the string the
data_typefrom the database information schema will be renamed to.
SchemaColumnNames Attributes#
SchemaColumnNames References#
Attribute Reference#
- attribute column_name = 'COLUMN_NAME'#
- attribute table_name = 'TABLE_NAME'#
- attribute primary_key = 'PRIMARYKEYCOLUMN'#
- attribute data_type = 'DATA_TYPE'#
- attribute max_len = 'MAX_LEN'#
- attribute num_prec = 'NUM_PREC'#