(self, tablename:str)
| 105 | |
| 106 | |
| 107 | def check_exists_table(self, tablename:str) -> bool: |
| 108 | table = self._select("SELECT name FROM sqlite_master WHERE type='table' AND name=?", (tablename,)) |
| 109 | return len(table)>0 |
| 110 | |
| 111 | def get_tables_count(self) -> Result: |
| 112 | result = Result(headers=['Table', "Rows"]) |