| @@ 660-670 (lines=11) @@ | ||
| 657 | * |
|
| 658 | * @return $this This QueryBuilder instance. |
|
| 659 | */ |
|
| 660 | public function innerJoin($fromAlias, $join, $alias, $condition = null) |
|
| 661 | { |
|
| 662 | return $this->add('join', [ |
|
| 663 | $fromAlias => [ |
|
| 664 | 'joinType' => 'inner', |
|
| 665 | 'joinTable' => $join, |
|
| 666 | 'joinAlias' => $alias, |
|
| 667 | 'joinCondition' => $condition |
|
| 668 | ] |
|
| 669 | ], true); |
|
| 670 | } |
|
| 671 | ||
| 672 | /** |
|
| 673 | * Creates and adds a left join to the query. |
|
| @@ 689-699 (lines=11) @@ | ||
| 686 | * |
|
| 687 | * @return $this This QueryBuilder instance. |
|
| 688 | */ |
|
| 689 | public function leftJoin($fromAlias, $join, $alias, $condition = null) |
|
| 690 | { |
|
| 691 | return $this->add('join', [ |
|
| 692 | $fromAlias => [ |
|
| 693 | 'joinType' => 'left', |
|
| 694 | 'joinTable' => $join, |
|
| 695 | 'joinAlias' => $alias, |
|
| 696 | 'joinCondition' => $condition |
|
| 697 | ] |
|
| 698 | ], true); |
|
| 699 | } |
|
| 700 | ||
| 701 | /** |
|
| 702 | * Creates and adds a right join to the query. |
|
| @@ 718-728 (lines=11) @@ | ||
| 715 | * |
|
| 716 | * @return $this This QueryBuilder instance. |
|
| 717 | */ |
|
| 718 | public function rightJoin($fromAlias, $join, $alias, $condition = null) |
|
| 719 | { |
|
| 720 | return $this->add('join', [ |
|
| 721 | $fromAlias => [ |
|
| 722 | 'joinType' => 'right', |
|
| 723 | 'joinTable' => $join, |
|
| 724 | 'joinAlias' => $alias, |
|
| 725 | 'joinCondition' => $condition |
|
| 726 | ] |
|
| 727 | ], true); |
|
| 728 | } |
|
| 729 | ||
| 730 | /** |
|
| 731 | * Sets a new value for a column in a bulk update query. |
|