PostgreSqlTransaction implements Transaction
FinalYes
Interfaces
- Transaction
Methods
- __construct() : mixed
- begin() : void
- commit() : void
- rollback() : void
- withIsolationLevel() : self
- SET TRANSACTION applies to the open transaction only, so there is nothing to restore.
Methods
__construct()
public
__construct(Client $client) : mixed
Parameters
- $client : Client
begin()
public
begin() : void
commit()
public
commit() : void
rollback()
public
rollback(Throwable $cause) : void
Parameters
- $cause : Throwable
withIsolationLevel()
SET TRANSACTION applies to the open transaction only, so there is nothing to restore.
public
withIsolationLevel(IsolationLevel $level) : self
Parameters
- $level : IsolationLevel