src/Slashworks/BackendBundle/Model/om/BaseUserQuery.php
public function filterByMemo($memo = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($memo)) {
                $comparison = Criteria::IN;
            } elseif (preg_match('/[\%\*]/', $memo)) {
                $memo = str_replace('*', '%', $memo);
                $comparison = Criteria::LIKE;
            }
        }

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

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

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

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