/**
  * Filter the query by a related MeshingTrustRemote object
  *
  * @param     MeshingTrustRemote $meshingTrustRemote  the related object to use as filter
  * @param     string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
  *
  * @return    MeshingTrustTypeQuery The current query, for fluid interface
  */
 public function filterByMeshingTrustRemote($meshingTrustRemote, $comparison = null)
 {
     if ($meshingTrustRemote instanceof MeshingTrustRemote) {
         return $this->addUsingAlias(MeshingTrustTypePeer::ID, $meshingTrustRemote->getTrustTypeId(), $comparison);
     } elseif ($meshingTrustRemote instanceof PropelCollection) {
         return $this->useMeshingTrustRemoteQuery()->filterByPrimaryKeys($meshingTrustRemote->getPrimaryKeys())->endUse();
     } else {
         throw new PropelException('filterByMeshingTrustRemote() only accepts arguments of type MeshingTrustRemote or PropelCollection');
     }
 }