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