/**
  * Filter the query by a related MeshingTrustLocal object
  *
  * @param     MeshingTrustLocal $meshingTrustLocal  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 filterByMeshingTrustLocal($meshingTrustLocal, $comparison = null)
 {
     if ($meshingTrustLocal instanceof MeshingTrustLocal) {
         return $this->addUsingAlias(MeshingTrustTypePeer::ID, $meshingTrustLocal->getType(), $comparison);
     } elseif ($meshingTrustLocal instanceof PropelCollection) {
         return $this->useMeshingTrustLocalQuery()->filterByPrimaryKeys($meshingTrustLocal->getPrimaryKeys())->endUse();
     } else {
         throw new PropelException('filterByMeshingTrustLocal() only accepts arguments of type MeshingTrustLocal or PropelCollection');
     }
 }