()
| 675 | } |
| 676 | |
| 677 | end(): Query { |
| 678 | const groupCondition = this.conditions |
| 679 | .map((c, i) => (i === 0 ? c.condition : `${c.operator} ${c.condition}`)) |
| 680 | .join(' '); |
| 681 | |
| 682 | this.query._addWhereCondition({ |
| 683 | condition: groupCondition, |
| 684 | operator: this.groupOperator, |
| 685 | isGroup: true, |
| 686 | }); |
| 687 | |
| 688 | return this.query; |
| 689 | } |
| 690 | } |
| 691 | |
| 692 | // Helper function to create a new query |
no test coverage detected