(self, statements: list[str])
| 128 | cursor.execute(statement.encode()) |
| 129 | |
| 130 | def execute_all(self, statements: list[str]) -> None: |
| 131 | with self.conn.cursor() as cursor: |
| 132 | for statement in statements: |
| 133 | cursor.execute(statement.encode()) |
| 134 | |
| 135 | def query_one(self, query: str) -> dict[Any, Any]: |
| 136 | with self.conn.cursor() as cursor: |