/** * Exclude object from result * * @param ChildGroupPerson $groupPerson Object to remove from the list of results * * @return $this|ChildGroupPersonQuery The current query, for fluid interface */ public function prune($groupPerson = null) { if ($groupPerson) { $this->addUsingAlias(GroupPersonTableMap::COL_ID, $groupPerson->getId(), Criteria::NOT_EQUAL); } return $this; }