web-base/core/Driver/SQL/Expression/Add.class.php

14 lines
252 B
PHP
Raw Normal View History

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, "+");
}
}