Method | Description | |
---|---|---|
set ( string $column, string $expression ) : eZ\Publish\Core\Persistence\Database\UpdateQuery | The update query will set the column $column to the value $expression. | |
update ( string $table ) : eZ\Publish\Core\Persistence\Database\UpdateQuery | Opens the query and sets the target table to $table. | |
where ( ) : eZ\Publish\Core\Persistence\Database\UpdateQuery | Adds a where clause with logical expressions to the query. |
$q->update( 'MyTable' )->where( $q->expr->eq( 'id', 1 ) );
public where ( ) : eZ\Publish\Core\Persistence\Database\UpdateQuery | ||
return | eZ\Publish\Core\Persistence\Database\UpdateQuery |