blob: cafcff01b751ee7fbfa39d3c13a8a50e324a66cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
<?php
declare(strict_types=1);
namespace Doctrine\ORM\Query\AST;
use Doctrine\ORM\Query\SqlWalker;
/**
* UpdateClause ::= "UPDATE" AbstractSchemaName [["AS"] AliasIdentificationVariable] "SET" UpdateItem {"," UpdateItem}*
*
* @link www.doctrine-project.org
*/
class UpdateClause extends Node
{
public string $aliasIdentificationVariable;
/** @param mixed[] $updateItems */
public function __construct(
public string $abstractSchemaName,
public array $updateItems,
) {
}
public function dispatch(SqlWalker $walker): string
{
return $walker->walkUpdateClause($this);
}
}
|