src/Alchemy/Component/Cerberus/Model/Base/LogQuery.php
public function filterBySessionId($sessionId = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($sessionId)) {
                $comparison = Criteria::IN;
            } elseif (preg_match('/[\%\*]/', $sessionId)) {
                $sessionId = str_replace('*', '%', $sessionId);
                $comparison = Criteria::LIKE;
            }
        }

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

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

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

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