src/model/Base/VideoQuery.php
public function filterByProvider($provider = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($provider)) {
                $comparison = Criteria::IN;
            } elseif (preg_match('/[\%\*]/', $provider)) {
                $provider = str_replace('*', '%', $provider);
                $comparison = Criteria::LIKE;
            }
        }

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

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

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

@param     string $provider 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 $this|ChildVideoQuery The current query, for fluid interface
Filter the query on the provider column