/**
  * Filter the query by a related \App\Models\TranslationKeyword object
  *
  * @param \App\Models\TranslationKeyword|ObjectCollection $translationKeyword 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 ChildTranslationLanguageKeywordQuery The current query, for fluid interface
  */
 public function filterByTranslationKeyword($translationKeyword, $comparison = null)
 {
     if ($translationKeyword instanceof \App\Models\TranslationKeyword) {
         return $this->addUsingAlias(TranslationLanguageKeywordTableMap::COL_KEYWORD_ID, $translationKeyword->getId(), $comparison);
     } elseif ($translationKeyword instanceof ObjectCollection) {
         if (null === $comparison) {
             $comparison = Criteria::IN;
         }
         return $this->addUsingAlias(TranslationLanguageKeywordTableMap::COL_KEYWORD_ID, $translationKeyword->toKeyValue('PrimaryKey', 'Id'), $comparison);
     } else {
         throw new PropelException('filterByTranslationKeyword() only accepts arguments of type \\App\\Models\\TranslationKeyword or Collection');
     }
 }