PHP Class SqlParser\Statements\TransactionStatement

Author: Dan Ungureanu ([email protected])
Inheritance: extends SqlParser\Statement
Mostra file Open project: phpmyadmin/sql-parser Class Usage Examples

Public Properties

Property Type Description
$OPTIONS array Options for this query.
$end TransactionStatement The ending transaction statement which may be a COMMIT or a ROLLBACK.
$statements SqlParser\Statement[] The list of statements in this transaction.
$type integer The type of this query.

Public Methods

Method Description
build ( ) : string
parse ( Parser $parser, TokensList $list ) : void

Method Details

build() public method

public build ( ) : string
return string

parse() public method

public parse ( Parser $parser, TokensList $list ) : void
$parser SqlParser\Parser The instance that requests parsing.
$list SqlParser\TokensList The list of tokens to be parsed.
return void

Property Details

$OPTIONS public_oe static_oe property

Options for this query.
public static array $OPTIONS
return array

$end public_oe property

The ending transaction statement which may be a COMMIT or a ROLLBACK.
public TransactionStatement,SqlParser\Statements $end
return TransactionStatement

$statements public_oe property

The list of statements in this transaction.
public Statement[],SqlParser $statements
return SqlParser\Statement[]

$type public_oe property

The type of this query.
public int $type
return integer