public function filterByEndpoint($endpoint = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($endpoint)) {
                $comparison = Criteria::IN;
            }
        }

        return $this->addUsingAlias(SourceTableMap::COL_ENDPOINT, $endpoint, $comparison);
    }
public function filterByEndpoint($endpoint = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($endpoint)) {
                $comparison = Criteria::IN;
            }
        }

        return $this->addUsingAlias(SourceTableMap::COL_ENDPOINT, $endpoint, $comparison);
    }
public function filterByEndpoint ( $ endpoint = null , $ comparison = null ) { if ( null === $ comparison ) { if ( is_array ( $ endpoint ) ) { $ comparison = Criteria :: IN ; } } return $ this -> addUsingAlias ( SourceTableMap :: COL_ENDPOINT , $ endpoint , $ comparison ) ; }
Filter the query on the endpoint column

Example usage:
<code>
$query->filterByEndpoint('fooValue');   // WHERE endpoint = 'fooValue'
$query->filterByEndpoint('%fooValue%', Criteria::LIKE); // WHERE endpoint LIKE '%fooValue%'
</code>

@param     string $endpoint The value to use as filter.
@param     string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

@return $this|ChildSourceQuery The current query, for fluid interface
Filter the query on the endpoint column