@@ 606-613 (lines=8) @@ | ||
603 | * |
|
604 | * @return QueryBuilderInterface |
|
605 | */ |
|
606 | public function groupStart(): QueryBuilderInterface |
|
607 | { |
|
608 | $conj = empty($this->state->getQueryMap()) ? ' WHERE ' : ' '; |
|
609 | ||
610 | $this->state->appendMap($conj, '(', 'group_start'); |
|
611 | ||
612 | return $this; |
|
613 | } |
|
614 | ||
615 | /** |
|
616 | * Adds a paren to the current query for query grouping, |
|
@@ 621-628 (lines=8) @@ | ||
618 | * |
|
619 | * @return QueryBuilderInterface |
|
620 | */ |
|
621 | public function notGroupStart(): QueryBuilderInterface |
|
622 | { |
|
623 | $conj = empty($this->state->getQueryMap()) ? ' WHERE ' : ' AND '; |
|
624 | ||
625 | $this->state->appendMap($conj, ' NOT (', 'group_start'); |
|
626 | ||
627 | return $this; |
|
628 | } |
|
629 | ||
630 | /** |
|
631 | * Adds a paren to the current query for query grouping, |