---
title: "SQL.SavepointContext"
description: "Abstract SQL savepoint context prototype."
canonical_url: "https://www.zeyos.com/zymba/ref/sql/sql-savepointcontext"
markdown_url: "https://www.zeyos.com/ai/guide/zymba/ref/sql/sql-savepointcontext.md"
section: "zymba-reference"
authority: "reference"
language: "en"
source_repository: "https://cloud.zeyos.com/__doc/zymbaref.json"
source_sha256: "05a361c6ddc32e74f4a6dc16fd06f218210ff1b7ce57f26ca1994bfffc407915"
---

# SQL.SavepointContext

## SQL.SavepointContext

```
object @SQL.SavepointContext(@Base) {
	enter() {}
	exit(mixed $exception) {}
}
```

**Abstract SQL savepoint context prototype.**

### Prototype

**[Base](#)**

## Methods


### `$this.enter()`


```code
$this.enter(): void
```




### `$this.exit()`


```code
$this.exit(mixed $exception): void
```

##### Parameters

| Name | Type | Value | Default |
| --- | --- | --- | --- |
| exception | `mixed`  |  | null |
