public function join($joinTable, $joinKey, $idName, $alias = null, $type = 'LEFT', $on = array())
{
$onClauses = array(WhereClause::create($on));
$this->joinClauses[] = new JoinClause($joinTable, $joinKey, $idName, $this->aliasTable ?: $this->table, $alias, $type, $onClauses);
return $this;
}