PHP Класс GraphAware\Neo4j\Client\Transaction\Transaction

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$queue GraphAware\Common\Cypher\Statement[]

Открытые методы

Метод Описание
__construct ( GraphAware\Common\Transaction\TransactionInterface $driverTransaction )
begin ( )
commit ( ) : mixed
isCommited ( ) : boolean
isOpen ( ) : boolean
isRolledBack ( ) : boolean
push ( string $statement, array $parameters = [], string | null $tag = null ) Push a statement to the queue, without actually sending it.
pushStack ( GraphAware\Neo4j\Client\StackInterface $stack ) Push a statements Stack to the queue, without actually sending it.
rollback ( )
run ( string $statement, array $parameters = [], null | string $tag = null ) : GraphAware\Common\Result\Result
runStack ( GraphAware\Neo4j\Client\StackInterface $stack ) : mixed
status ( ) : string

Описание методов

__construct() публичный Метод

public __construct ( GraphAware\Common\Transaction\TransactionInterface $driverTransaction )
$driverTransaction GraphAware\Common\Transaction\TransactionInterface

begin() публичный Метод

public begin ( )

commit() публичный Метод

public commit ( ) : mixed
Результат mixed

isCommited() публичный Метод

public isCommited ( ) : boolean
Результат boolean

isOpen() публичный Метод

public isOpen ( ) : boolean
Результат boolean

isRolledBack() публичный Метод

public isRolledBack ( ) : boolean
Результат boolean

push() публичный Метод

Push a statement to the queue, without actually sending it.
public push ( string $statement, array $parameters = [], string | null $tag = null )
$statement string
$parameters array
$tag string | null

pushStack() публичный Метод

Push a statements Stack to the queue, without actually sending it.
public pushStack ( GraphAware\Neo4j\Client\StackInterface $stack )
$stack GraphAware\Neo4j\Client\StackInterface

rollback() публичный Метод

public rollback ( )

run() публичный Метод

public run ( string $statement, array $parameters = [], null | string $tag = null ) : GraphAware\Common\Result\Result
$statement string
$parameters array
$tag null | string
Результат GraphAware\Common\Result\Result

runStack() публичный Метод

public runStack ( GraphAware\Neo4j\Client\StackInterface $stack ) : mixed
$stack GraphAware\Neo4j\Client\StackInterface
Результат mixed

status() публичный Метод

public status ( ) : string
Результат string

Описание свойств

$queue защищенное свойство

protected Statement[],GraphAware\Common\Cypher $queue
Результат GraphAware\Common\Cypher\Statement[]