(db_connection, table_name)
| 39 | |
| 40 | |
| 41 | def table_schema(db_connection, table_name): |
| 42 | schema = schema_info(db_connection) |
| 43 | s = [table for table in schema if table[0] == table_name] |
| 44 | if len(s): |
| 45 | return s[0][1] |
| 46 | |
| 47 | |
| 48 | def sample_rows_from_table(connection, table_name): |