| 1 | <?php |
||
| 18 | class Intersect implements QueryInterface, QueryPartInterface |
||
| 19 | { |
||
| 20 | const INTERSECT = 'INTERSECT'; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var array |
||
| 24 | */ |
||
| 25 | private $intersect = []; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return string |
||
| 29 | */ |
||
| 30 | public function partName() |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param Select $select |
||
| 37 | * |
||
| 38 | * @return $this |
||
| 39 | */ |
||
| 40 | public function add(Select $select) |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @return array |
||
| 49 | */ |
||
| 50 | public function getIntersects() |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @throws QueryException |
||
| 57 | * |
||
| 58 | * @return \NilPortugues\Sql\QueryBuilder\Syntax\Table |
||
| 59 | */ |
||
| 60 | public function getTable() |
||
| 64 | |||
| 65 | /** |
||
| 66 | * @throws QueryException |
||
| 67 | * |
||
| 68 | * @return \NilPortugues\Sql\QueryBuilder\Syntax\Where |
||
| 69 | */ |
||
| 70 | public function getWhere() |
||
| 74 | |||
| 75 | /** |
||
| 76 | * @throws QueryException |
||
| 77 | * |
||
| 78 | * @return \NilPortugues\Sql\QueryBuilder\Syntax\Where |
||
| 79 | */ |
||
| 80 | public function where() |
||
| 84 | } |
||
| 85 |