Execute a statement without returning results Args: session_id: Session ID from create_session() statement: GQL statement to execute Raises: GraphLiteError: If execution fails
(self, session_id: str, statement: str)
| 297 | _lib.graphlite_free_string(result_ptr) |
| 298 | |
| 299 | def execute(self, session_id: str, statement: str) -> None: |
| 300 | """ |
| 301 | Execute a statement without returning results |
| 302 | |
| 303 | Args: |
| 304 | session_id: Session ID from create_session() |
| 305 | statement: GQL statement to execute |
| 306 | |
| 307 | Raises: |
| 308 | GraphLiteError: If execution fails |
| 309 | """ |
| 310 | self.query(session_id, statement) |
| 311 | |
| 312 | def close_session(self, session_id: str) -> None: |
| 313 | """ |