INNER CODE UNIT · Python

begin

ArcadeData/arcadedb · bindings/python/src/arcadedb_embedded/core.py:182

    def begin(self):
        """Begin a transaction."""
        self._check_not_closed()
        try:
            self._java_db.begin()
        except Exception as e:
            raise ArcadeDBError(f"Failed to begin transaction: {e}") from e

    def commit(self):
        """Commit the current transaction."""
        self._check_not_closed()
        try:
            self._java_db.commit()
        except Exception as e:
            raise ArcadeDBError(f"Failed to commit transaction: {e}") from e

    def rollback(self):
        """Rollback the current transaction."""

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…