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

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

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

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

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