Skip to content

Commit

Permalink
Update for new dependency betas
Browse files Browse the repository at this point in the history
  • Loading branch information
trowski committed Dec 9, 2023
1 parent 4b464c1 commit 5e4dbbe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "*",
Expand Down
5 changes: 5 additions & 0 deletions src/Internal/PostgresHandleConnection.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5e4dbbe

Please sign in to comment.