1.3.0
This commit is contained in:
22
core/Driver/SQL/Condition/Exists.class.php
Normal file
22
core/Driver/SQL/Condition/Exists.class.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user