| @@ 673-683 (lines=11) @@ | ||
| 670 | * |
|
| 671 | * @return $this This QueryBuilder instance. |
|
| 672 | */ |
|
| 673 | public function innerJoin($fromAlias, $join, $alias, $condition = null) |
|
| 674 | { |
|
| 675 | return $this->add('join', [ |
|
| 676 | $fromAlias => [ |
|
| 677 | 'joinType' => 'inner', |
|
| 678 | 'joinTable' => $join, |
|
| 679 | 'joinAlias' => $alias, |
|
| 680 | 'joinCondition' => $condition |
|
| 681 | ] |
|
| 682 | ], true); |
|
| 683 | } |
|
| 684 | ||
| 685 | /** |
|
| 686 | * Creates and adds a left join to the query. |
|
| @@ 702-712 (lines=11) @@ | ||
| 699 | * |
|
| 700 | * @return $this This QueryBuilder instance. |
|
| 701 | */ |
|
| 702 | public function leftJoin($fromAlias, $join, $alias, $condition = null) |
|
| 703 | { |
|
| 704 | return $this->add('join', [ |
|
| 705 | $fromAlias => [ |
|
| 706 | 'joinType' => 'left', |
|
| 707 | 'joinTable' => $join, |
|
| 708 | 'joinAlias' => $alias, |
|
| 709 | 'joinCondition' => $condition |
|
| 710 | ] |
|
| 711 | ], true); |
|
| 712 | } |
|
| 713 | ||
| 714 | /** |
|
| 715 | * Creates and adds a right join to the query. |
|
| @@ 731-741 (lines=11) @@ | ||
| 728 | * |
|
| 729 | * @return $this This QueryBuilder instance. |
|
| 730 | */ |
|
| 731 | public function rightJoin($fromAlias, $join, $alias, $condition = null) |
|
| 732 | { |
|
| 733 | return $this->add('join', [ |
|
| 734 | $fromAlias => [ |
|
| 735 | 'joinType' => 'right', |
|
| 736 | 'joinTable' => $join, |
|
| 737 | 'joinAlias' => $alias, |
|
| 738 | 'joinCondition' => $condition |
|
| 739 | ] |
|
| 740 | ], true); |
|
| 741 | } |
|
| 742 | ||
| 743 | /** |
|
| 744 | * Sets a new value for a column in a bulk update query. |
|