StreamTransaction
extends Transaction
in package
FinalYes
Manages stream transactions on ArangoDB server
Table of Contents
Methods
- __construct() : mixed
- StreamTransaction constructor.
- abort() : mixed
- Abort transaction
- begin() : mixed
- Begin transaction
- commit() : mixed
- Commit transaction
- getTransactionId() : string
- Returns the transaction id
- getTransactionStatus() : string
- Returns the transaction status
Methods
__construct()
StreamTransaction constructor.
public
__construct(Connection $connection[, array<string|int, mixed> $options = [] ]) : mixed
Parameters
- $connection : Connection
-
Connection object to use.
- $options : array<string|int, mixed> = []
-
Transaction options.
Tags
abort()
Abort transaction
public
abort() : mixed
Tags
begin()
Begin transaction
public
begin() : mixed
Tags
commit()
Commit transaction
public
commit() : mixed
Tags
getTransactionId()
Returns the transaction id
public
getTransactionId() : string
Return values
stringgetTransactionStatus()
Returns the transaction status
public
getTransactionStatus() : string