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

        return $this->addUsingAlias(PlayerTableMap::COL_NICKNAME, $nickname, $comparison);
    }
public function filterByNickname($nickname = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($nickname)) {
                $comparison = Criteria::IN;
            }
        }

        return $this->addUsingAlias(PlayerTableMap::COL_NICKNAME, $nickname, $comparison);
    }
public function filterByNickname ( $ nickname = null , $ comparison = null ) { if ( null === $ comparison ) { if ( is_array ( $ nickname ) ) { $ comparison = Criteria :: IN ; } } return $ this -> addUsingAlias ( PlayerTableMap :: COL_NICKNAME , $ nickname , $ comparison ) ; }
Filter the query on the nickname column

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

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

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