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

22 lines
323 B
PHP
Raw Normal View History

2021-11-11 14:25:26 +01:00
<?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;
}
}