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

14 lines
262 B
PHP

<?php
namespace Core\Driver\SQL\Expression;
use Core\Driver\SQL\Condition\Compare;
# TODO: change confusing class inheritance here
class Add extends Compare {
public function __construct(string $col, $val) {
parent::__construct($col, $val, "+");
}
}