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

        return $this->addUsingAlias(MediaTableMap::COL_ARTIST, $artist, $comparison);
    }
public function filterByArtist($artist = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($artist)) {
                $comparison = Criteria::IN;
            }
        }

        return $this->addUsingAlias(MediaTableMap::COL_ARTIST, $artist, $comparison);
    }
public function filterByArtist ( $ artist = null , $ comparison = null ) { if ( null === $ comparison ) { if ( is_array ( $ artist ) ) { $ comparison = Criteria :: IN ; } } return $ this -> addUsingAlias ( MediaTableMap :: COL_ARTIST , $ artist , $ comparison ) ; }
Filter the query on the artist column

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

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

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