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

20 lines
448 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() {
return $this->conflictingColumns;
}
public function getValues() { return $this->values; }
}