PHP Class GraphAware\Neo4j\Client\Transaction\Transaction

Datei anzeigen Open project: graphaware/neo4j-php-client

Protected Properties

Property Type Description
$queue GraphAware\Common\Cypher\Statement[]

Public Methods

Method Description
__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

Method Details

__construct() public method

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

begin() public method

public begin ( )

commit() public method

public commit ( ) : mixed
return mixed

isCommited() public method

public isCommited ( ) : boolean
return boolean

isOpen() public method

public isOpen ( ) : boolean
return boolean

isRolledBack() public method

public isRolledBack ( ) : boolean
return boolean

push() public method

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() public method

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 method

public rollback ( )

run() public method

public run ( string $statement, array $parameters = [], null | string $tag = null ) : GraphAware\Common\Result\Result
$statement string
$parameters array
$tag null | string
return GraphAware\Common\Result\Result

runStack() public method

public runStack ( GraphAware\Neo4j\Client\StackInterface $stack ) : mixed
$stack GraphAware\Neo4j\Client\StackInterface
return mixed

status() public method

public status ( ) : string
return string

Property Details

$queue protected_oe property

protected Statement[],GraphAware\Common\Cypher $queue
return GraphAware\Common\Cypher\Statement[]