| @@ 586-595 (lines=10) @@ | ||
| 583 | * |
|
| 584 | * @return \OCP\DB\QueryBuilder\IQueryBuilder This QueryBuilder instance. |
|
| 585 | */ |
|
| 586 | public function join($fromAlias, $join, $alias, $condition = null) { |
|
| 587 | $this->queryBuilder->join( |
|
| 588 | $this->quoteAlias($fromAlias), |
|
| 589 | $this->getTableName($join), |
|
| 590 | $this->quoteAlias($alias), |
|
| 591 | $condition |
|
| 592 | ); |
|
| 593 | ||
| 594 | return $this; |
|
| 595 | } |
|
| 596 | ||
| 597 | /** |
|
| 598 | * Creates and adds a join to the query. |
|
| @@ 614-623 (lines=10) @@ | ||
| 611 | * |
|
| 612 | * @return \OCP\DB\QueryBuilder\IQueryBuilder This QueryBuilder instance. |
|
| 613 | */ |
|
| 614 | public function innerJoin($fromAlias, $join, $alias, $condition = null) { |
|
| 615 | $this->queryBuilder->innerJoin( |
|
| 616 | $this->quoteAlias($fromAlias), |
|
| 617 | $this->getTableName($join), |
|
| 618 | $this->quoteAlias($alias), |
|
| 619 | $condition |
|
| 620 | ); |
|
| 621 | ||
| 622 | return $this; |
|
| 623 | } |
|
| 624 | ||
| 625 | /** |
|
| 626 | * Creates and adds a left join to the query. |
|
| @@ 642-651 (lines=10) @@ | ||
| 639 | * |
|
| 640 | * @return \OCP\DB\QueryBuilder\IQueryBuilder This QueryBuilder instance. |
|
| 641 | */ |
|
| 642 | public function leftJoin($fromAlias, $join, $alias, $condition = null) { |
|
| 643 | $this->queryBuilder->leftJoin( |
|
| 644 | $this->quoteAlias($fromAlias), |
|
| 645 | $this->getTableName($join), |
|
| 646 | $this->quoteAlias($alias), |
|
| 647 | $condition |
|
| 648 | ); |
|
| 649 | ||
| 650 | return $this; |
|
| 651 | } |
|
| 652 | ||
| 653 | /** |
|
| 654 | * Creates and adds a right join to the query. |
|
| @@ 670-679 (lines=10) @@ | ||
| 667 | * |
|
| 668 | * @return \OCP\DB\QueryBuilder\IQueryBuilder This QueryBuilder instance. |
|
| 669 | */ |
|
| 670 | public function rightJoin($fromAlias, $join, $alias, $condition = null) { |
|
| 671 | $this->queryBuilder->rightJoin( |
|
| 672 | $this->quoteAlias($fromAlias), |
|
| 673 | $this->getTableName($join), |
|
| 674 | $this->quoteAlias($alias), |
|
| 675 | $condition |
|
| 676 | ); |
|
| 677 | ||
| 678 | return $this; |
|
| 679 | } |
|
| 680 | ||
| 681 | /** |
|
| 682 | * Sets a new value for a column in a bulk update query. |
|