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

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

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

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

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