(self, table_name:str)
| 92 | return Hashing.get_md5(line) |
| 93 | |
| 94 | def select_table(self, table_name:str) -> Result: |
| 95 | result = Result(table_name=table_name) |
| 96 | rows = self._select(f"Select * from {table_name}", showColumns=True) |
| 97 | if rows: |
| 98 | result.headers=list(rows[0].keys()) |
| 99 | for row in rows: |
| 100 | result.rows.append(list(row.values())) |
| 101 | |
| 102 | return result |
| 103 |