/**
  * Filter the query by a related \Object object
  *
  * @param \Object|ObjectCollection $object The related object(s) to use as filter
  * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
  *
  * @throws \Propel\Runtime\Exception\PropelException
  *
  * @return ChildObjectServicesQuery The current query, for fluid interface
  */
 public function filterByObject($object, $comparison = null)
 {
     if ($object instanceof \Object) {
         return $this->addUsingAlias(ObjectServicesTableMap::COL_ID_OBJECT, $object->getId(), $comparison);
     } elseif ($object instanceof ObjectCollection) {
         if (null === $comparison) {
             $comparison = Criteria::IN;
         }
         return $this->addUsingAlias(ObjectServicesTableMap::COL_ID_OBJECT, $object->toKeyValue('PrimaryKey', 'Id'), $comparison);
     } else {
         throw new PropelException('filterByObject() only accepts arguments of type \\Object or Collection');
     }
 }