web-base/Core/Driver/SQL/Strategy/UpdateStrategy.class.php

22 lines
473 B
PHP

<?php
namespace Core\Driver\SQL\Strategy;
class UpdateStrategy extends Strategy {
private array $values;
private array $conflictingColumns;
public function __construct(array $conflictingColumns, array $values) {
$this->conflictingColumns = $conflictingColumns;
$this->values = $values;
}
public function getConflictingColumns(): array {
return $this->conflictingColumns;
}
public function getValues(): array {
return $this->values;
}
}