/**
* @param BaseBuilder $from Expected subquery
* @param string $alias Subquery alias
*
* @return $this
*/
public function fromSubquery(BaseBuilder
$from, string
$alias): self
{ $table =
$this->
buildSubquery($from, true,
$alias);
$this->db->
addTableAlias($alias);
$this->QBFrom
[] =
$table;
return $this;
} /**
* Generates the JOIN portion of the query
*
* @param RawSql|string $cond
*
* @return $this
*/