예제 #1
0
 /**
  * Set the condition how to join the table[s] with the 'using' keyword.
  *
  * @param string $column Name of the column for the using condition.
  *
  * @return $this The same instance to concatenate methods.
  */
 public function using($column)
 {
     /** @var ColumnInterface $columnObj */
     $columnObj = $this->factory->references('Column', $column);
     $this->join->using($columnObj);
     return $this;
 }
예제 #2
0
 /**
  * Initialization of the join builder.
  *
  * @param JoinInterface $join
  */
 public function __construct(JoinInterface $join)
 {
     $this->joinArray = $join->getJoinArray();
 }