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

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

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

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

@param     string $thumbUrl 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|ChildPictureQuery The current query, for fluid interface
Filter the query on the thumb_url column