(self, tablename:str)
| 182 | AnsiPrint.print_error(e) |
| 183 | |
| 184 | def columns(self, tablename:str): |
| 185 | result = Result(headers=['Column Name']) |
| 186 | self._create_dbCursor() |
| 187 | columns = self._cursor._get_columns(tablename) |
| 188 | for col in columns: |
| 189 | result.rows.append([col[0]]) |
| 190 | |
| 191 | AnsiPrint.printResult(result) |
| 192 | |
| 193 | def run_query(self, sentence:str, value_to_hight_light:str): |
| 194 | """Run the query and highlight the text that matches. |
no test coverage detected