2020-06-17 23:50:08 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Driver\SQL\Expression;
|
|
|
|
|
|
|
|
use Driver\SQL\Condition\Compare;
|
|
|
|
|
2021-04-02 21:58:06 +02:00
|
|
|
# TODO: change confusing class inheritance here
|
2020-06-17 23:50:08 +02:00
|
|
|
class Add extends Compare {
|
|
|
|
|
2021-04-02 21:58:06 +02:00
|
|
|
public function __construct(string $col, $val) {
|
2020-06-17 23:50:08 +02:00
|
|
|
parent::__construct($col, $val, "+");
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|