PHP Класс SqlParser\Statements\UpdateStatement

UPDATE [LOW_PRIORITY] [IGNORE] table_reference SET col_name1={expr1|DEFAULT} [, col_name2={expr2|DEFAULT}] ... [WHERE where_condition] [ORDER BY ...] [LIMIT row_count] or UPDATE [LOW_PRIORITY] [IGNORE] table_references SET col_name1={expr1|DEFAULT} [, col_name2={expr2|DEFAULT}] ... [WHERE where_condition]
Автор: Dan Ungureanu ([email protected])
Наследование: extends SqlParser\Statement
Показать файл Открыть проект

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

Свойство Тип Описание
$CLAUSES array The clauses of this statement, in order.
$OPTIONS array Options for UPDATE statements and their slot ID.
$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.
$set SqlParser\Components\SetOperation[] The updated values.
$tables SqlParser\Components\Expression[] Tables used as sources for this statement.
$where SqlParser\Components\Condition[] Conditions used for filtering each row of the result set.

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

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

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

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

Options for UPDATE statements and their slot ID.
public static array $OPTIONS
Результат array

$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[]

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

The updated values.
public SetOperation[],SqlParser\Components $set
Результат SqlParser\Components\SetOperation[]

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

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

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

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