get_table_columns¶
-
Data_Reduction.GAVRT.mysql.
get_table_columns
(db_conn, table)¶ Returns information about the columns in a table. Inputs:
db_conn (connection object) table (string)
Outputs:
a sequence of sequences with column information. Each column sequence consisting of: column name (string) column type (string) such as 'tinyint(3) unsigned' or 'float' contains nulls (string) 'YES' or 'NO' key (string) is the column indexed? default value e.g. 'None' extra information (string)