/**
  * Filter the query by a related \SpoilerWiki\ContentAreaVersion object
  *
  * @param \SpoilerWiki\ContentAreaVersion|ObjectCollection $contentAreaVersion the related object to use as filter
  * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
  *
  * @return ChildContentAreaQuery The current query, for fluid interface
  */
 public function filterByContentAreaVersion($contentAreaVersion, $comparison = null)
 {
     if ($contentAreaVersion instanceof \SpoilerWiki\ContentAreaVersion) {
         return $this->addUsingAlias(ContentAreaTableMap::COL_ID, $contentAreaVersion->getId(), $comparison);
     } elseif ($contentAreaVersion instanceof ObjectCollection) {
         return $this->useContentAreaVersionQuery()->filterByPrimaryKeys($contentAreaVersion->getPrimaryKeys())->endUse();
     } else {
         throw new PropelException('filterByContentAreaVersion() only accepts arguments of type \\SpoilerWiki\\ContentAreaVersion or Collection');
     }
 }