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

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

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

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

@param     string $apiUrl 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 RemoteAppQuery The current query, for fluid interface
Filter the query on the api_url column