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

        return $this->addUsingAlias(MapTableMap::COL_MOOD, $mood, $comparison);
    }
public function filterByMood($mood = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($mood)) {
                $comparison = Criteria::IN;
            }
        }

        return $this->addUsingAlias(MapTableMap::COL_MOOD, $mood, $comparison);
    }
public function filterByMood ( $ mood = null , $ comparison = null ) { if ( null === $ comparison ) { if ( is_array ( $ mood ) ) { $ comparison = Criteria :: IN ; } } return $ this -> addUsingAlias ( MapTableMap :: COL_MOOD , $ mood , $ comparison ) ; }
Filter the query on the mood column

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

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

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