web-base/core/Driver/SQL/Strategy/UpdateStrategy.class.php
2021-04-02 22:24:22 +02:00

22 lines
468 B
PHP

<?php
namespace 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;
}
}