web-base/Core/Driver/SQL/Condition/Exists.class.php

22 lines
333 B
PHP

<?php
namespace Core\Driver\SQL\Condition;
use Core\Driver\SQL\Query\Select;
class Exists extends Condition
{
private Select $subQuery;
public function __construct(Select $subQuery)
{
$this->subQuery = $subQuery;
}
public function getSubQuery(): Select
{
return $this->subQuery;
}
}