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