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

20 lines
436 B
PHP
Raw Normal View History

2020-04-02 00:02:51 +02:00
<?php
namespace Driver\SQL\Strategy;
class UpdateStrategy extends Strategy {
2020-04-03 17:39:58 +02:00
private array $values;
2020-06-18 15:08:09 +02:00
private array $conflictingColumns;
2020-04-02 00:02:51 +02:00
2020-06-18 15:08:09 +02:00
public function __construct($conflictingColumns, $values) {
$this->conflictingColumns = $conflictingColumns;
2020-04-02 00:02:51 +02:00
$this->values = $values;
}
2020-06-18 15:08:09 +02:00
public function getConflictingColumns() {
return $this->conflictingColumns;
}
2020-04-02 00:02:51 +02:00
public function getValues() { return $this->values; }
2020-04-03 17:39:58 +02:00
}