src/Slashworks/AppBundle/Model/om/BaseCountryQuery.php
public function filterByDe($de = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($de)) {
                $comparison = Criteria::IN;
            } elseif (preg_match('/[\%\*]/', $de)) {
                $de = str_replace('*', '%', $de);
                $comparison = Criteria::LIKE;
            }
        }

        return $this->addUsingAlias(CountryPeer::DE, $de, $comparison);
    }
public function filterByDe($de = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($de)) {
                $comparison = Criteria::IN;
            } elseif (preg_match('/[\%\*]/', $de)) {
                $de = str_replace('*', '%', $de);
                $comparison = Criteria::LIKE;
            }
        }

        return $this->addUsingAlias(CountryPeer::DE, $de, $comparison);
    }
public function filterByDe ( $ de = null , $ comparison = null ) { if ( null === $ comparison ) { if ( is_array ( $ de ) ) { $ comparison = Criteria :: IN ; } elseif ( preg_match ( '/[\%\*]/' , $ de ) ) { $ de = str_replace ( '*' , '%' , $ de ) ; $ comparison = Criteria :: LIKE ; } } return $ this -> addUsingAlias ( CountryPeer :: DE , $ de , $ comparison ) ; }
Filter the query on the de column

Example usage:
<code>
$query->filterByDe('fooValue');   // WHERE de = 'fooValue'
$query->filterByDe('%fooValue%'); // WHERE de LIKE '%fooValue%'
</code>

@param     string $de The value to use as filter.
Accepts wildcards (* and % trigger a LIKE)
@param     string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

@return CountryQuery The current query, for fluid interface
Filter the query on the de column