[v2.0.0-beta.5] Call to undefined method Amp\Postgres\Internal\PostgresPooledTransaction::createSavepoint()
PNixx opened this issue · comments
Sergey Odintsov commented
After update from v2.0.0-beta.4 method createSavepoint()
not found:
$transaction = $connection->beginTransaction();
$transaction->createSavepoint($name); // <-- here
Aaron Piotrowski commented
Transactions no longer implement methods for savepoints. Instead, you can start a nested transaction using PostgresTransaction::beginTransaction()
and use the returned PostgresTransaction
as a Link
object to perform queries within a savepoint.