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