2020-06-23 22:24:56 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Driver\SQL\Condition;
|
|
|
|
|
|
|
|
class CondIn extends Condition {
|
|
|
|
|
|
|
|
private string $column;
|
2020-06-26 23:32:45 +02:00
|
|
|
private $expression;
|
2020-06-23 22:24:56 +02:00
|
|
|
|
2020-06-26 23:32:45 +02:00
|
|
|
public function __construct(string $column, $expression) {
|
2020-06-23 22:24:56 +02:00
|
|
|
$this->column = $column;
|
2020-06-26 23:32:45 +02:00
|
|
|
$this->expression = $expression;
|
2020-06-23 22:24:56 +02:00
|
|
|
}
|
|
|
|
|
2021-04-02 21:58:06 +02:00
|
|
|
public function getColumn(): string { return $this->column; }
|
2020-06-26 23:32:45 +02:00
|
|
|
public function getExpression() { return $this->expression; }
|
2020-06-23 22:24:56 +02:00
|
|
|
}
|