PHP Класс SqlParser\Statements\DeleteStatement

DELETE [LOW_PRIORITY] [QUICK] [IGNORE] FROM tbl_name [PARTITION (partition_name,...)] [WHERE where_condition] [ORDER BY ...] [LIMIT row_count]
Автор: Dan Ungureanu ([email protected])
Наследование: extends SqlParser\Statement
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$CLAUSES array The clauses of this statement, in order.
$OPTIONS array Options for DELETE statements.
$columns SqlParser\Components\Expression[] Columns used in this statement
$from SqlParser\Components\Expression[] Table(s) used as sources for this statement.
$limit SqlParser\Components\Limit Conditions used for limiting the size of the result set.
$order SqlParser\Components\OrderKeyword[] Specifies the order of the rows in the result set.
$partition SqlParser\Components\ArrayObj Partitions used as source for this statement.
$using SqlParser\Components\Expression[] Tables used as sources for this statement
$where SqlParser\Components\Condition[] Conditions used for filtering each row of the result set.

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

Метод Описание
build ( ) : string
parse ( Parser $parser, TokensList $list ) : void

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

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

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

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

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.
Результат void

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

$CLAUSES публичное статическое свойство

The clauses of this statement, in order.
См. также: Statement::$CLAUSES
public static array $CLAUSES
Результат array

$OPTIONS публичное статическое свойство

Options for DELETE statements.
public static array $OPTIONS
Результат array

$columns публичное свойство

Columns used in this statement
public Expression[],SqlParser\Components $columns
Результат SqlParser\Components\Expression[]

$from публичное свойство

Table(s) used as sources for this statement.
public Expression[],SqlParser\Components $from
Результат SqlParser\Components\Expression[]

$limit публичное свойство

Conditions used for limiting the size of the result set.
public Limit,SqlParser\Components $limit
Результат SqlParser\Components\Limit

$order публичное свойство

Specifies the order of the rows in the result set.
public OrderKeyword[],SqlParser\Components $order
Результат SqlParser\Components\OrderKeyword[]

$partition публичное свойство

Partitions used as source for this statement.
public ArrayObj,SqlParser\Components $partition
Результат SqlParser\Components\ArrayObj

$using публичное свойство

Tables used as sources for this statement
public Expression[],SqlParser\Components $using
Результат SqlParser\Components\Expression[]

$where публичное свойство

Conditions used for filtering each row of the result set.
public Condition[],SqlParser\Components $where
Результат SqlParser\Components\Condition[]