web-base/core/Driver/SQL/Condition/Exists.class.php
2021-11-11 14:25:32 +01:00

22 lines
323 B
PHP

<?php
namespace Driver\SQL\Condition;
use 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;
}
}