示例#1
0
 /**
  * Exclude object from result
  *
  * @param   ChildPurchaseHistory $purchaseHistory Object to remove from the list of results
  *
  * @return $this|ChildPurchaseHistoryQuery The current query, for fluid interface
  */
 public function prune($purchaseHistory = null)
 {
     if ($purchaseHistory) {
         $this->addUsingAlias(PurchaseHistoryTableMap::COL_ID, $purchaseHistory->getId(), Criteria::NOT_EQUAL);
     }
     return $this;
 }