(self, name:str, columns=None)
| 179 | |
| 180 | |
| 181 | def create_table(self, name:str, columns=None): |
| 182 | sentence = f"CREATE TABLE IF NOT EXISTS {name} ({self._hashcolumn} varchar(50))" |
| 183 | self._execute(sentence) |
| 184 | if self.check_exists_table(name): |
| 185 | self.create_columns(name, columns) |
| 186 | |
| 187 | def create_columns(self, tablename:str, columns): |
| 188 | if self._hashcolumn not in columns: |
nothing calls this directly
no test coverage detected