PHP 클래스 GraphAware\Neo4j\Client\Transaction\Transaction

파일 보기 프로젝트 열기: graphaware/neo4j-php-client

보호된 프로퍼티들

프로퍼티 타입 설명
$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[]