diff --git a/composer.json b/composer.json index d6a4c33..7a84b8f 100644 --- a/composer.json +++ b/composer.json @@ -22,8 +22,8 @@ "php": ">=8.1", "amphp/amp": "^3", "amphp/pipeline": "^1", - "amphp/sql": "dev-refactor-transactions as 2.0", - "amphp/sql-common": "dev-refactor-transactions as 2.0" + "amphp/sql": "^2-beta.6", + "amphp/sql-common": "^2-beta.7" }, "require-dev": { "ext-pgsql": "*", diff --git a/src/Internal/PostgresHandleConnection.php b/src/Internal/PostgresHandleConnection.php index 137846e..d0b849e 100644 --- a/src/Internal/PostgresHandleConnection.php +++ b/src/Internal/PostgresHandleConnection.php @@ -135,6 +135,11 @@ final public function beginTransaction(): PostgresTransaction ); } + final public function getTransactionIsolation(): TransactionIsolation + { + return $this->transactionIsolation; + } + final public function setTransactionIsolation(TransactionIsolation $isolation): void { $this->transactionIsolation = $isolation;