GetColumnAlias() 공개 메소드

public GetColumnAlias ( QQueryBuilder $objBuilder, $blnExpandSelection = false, QQCondition $objJoinCondition = null )
$objBuilder QQueryBuilder
$objJoinCondition QQCondition
예제 #1
0
 public function UpdateQueryBuilder(QQueryBuilder $objBuilder)
 {
     if ($this->objNode instanceof QQAssociationNode) {
         $this->objNode->_ChildTableNode->GetColumnAlias($objBuilder, true, null, $this->objSelect);
     } else {
         $this->objNode->GetColumnAlias($objBuilder, true, null, $this->objSelect);
     }
     $objBuilder->AddExpandAsArrayNode($this->objNode);
 }
예제 #2
0
 public function UpdateQueryBuilder(QQueryBuilder $objBuilder)
 {
     $objBuilder->SetVirtualNode($this->strAttributeName, $this->objNode);
     $objBuilder->AddSelectFunction(null, $this->objNode->GetColumnAlias($objBuilder), $this->strAttributeName);
 }