public function filterByDriverCode($driverCode = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($driverCode)) {
                $comparison = Criteria::IN;
            } elseif (preg_match('/[\%\*]/', $driverCode)) {
                $driverCode = str_replace('*', '%', $driverCode);
                $comparison = Criteria::LIKE;
            }
        }

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

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

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

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