From 5e4dbbef92ea8c1934f7dd0a299c08ec61c2f9c9 Mon Sep 17 00:00:00 2001 From: Aaron Piotrowski Date: Fri, 8 Dec 2023 22:19:05 -0600 Subject: [PATCH] Update for new dependency betas --- composer.json | 4 ++-- src/Internal/PostgresHandleConnection.php | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) 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;