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

14 lines
262 B
PHP
Raw Normal View History

2020-06-17 23:50:08 +02:00
<?php
2022-11-18 18:06:46 +01:00
namespace Core\Driver\SQL\Expression;
2020-06-17 23:50:08 +02:00
2022-11-18 18:06:46 +01:00
use Core\Driver\SQL\Condition\Compare;
2020-06-17 23:50:08 +02:00
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, "+");
}
}