public function filterByLaps($laps = null, $comparison = null)
    {
        if (is_array($laps)) {
            $useMinMax = false;
            if (isset($laps['min'])) {
                $this->addUsingAlias(MxmapTableMap::COL_LAPS, $laps['min'], Criteria::GREATER_EQUAL);
                $useMinMax = true;
            }
            if (isset($laps['max'])) {
                $this->addUsingAlias(MxmapTableMap::COL_LAPS, $laps['max'], Criteria::LESS_EQUAL);
                $useMinMax = true;
            }
            if ($useMinMax) {
                return $this;
            }
            if (null === $comparison) {
                $comparison = Criteria::IN;
            }
        }

        return $this->addUsingAlias(MxmapTableMap::COL_LAPS, $laps, $comparison);
    }
public function filterByLaps($laps = null, $comparison = null)
    {
        if (is_array($laps)) {
            $useMinMax = false;
            if (isset($laps['min'])) {
                $this->addUsingAlias(MxmapTableMap::COL_LAPS, $laps['min'], Criteria::GREATER_EQUAL);
                $useMinMax = true;
            }
            if (isset($laps['max'])) {
                $this->addUsingAlias(MxmapTableMap::COL_LAPS, $laps['max'], Criteria::LESS_EQUAL);
                $useMinMax = true;
            }
            if ($useMinMax) {
                return $this;
            }
            if (null === $comparison) {
                $comparison = Criteria::IN;
            }
        }

        return $this->addUsingAlias(MxmapTableMap::COL_LAPS, $laps, $comparison);
    }
public function filterByLaps ( $ laps = null , $ comparison = null ) { if ( is_array ( $ laps ) ) { $ useMinMax = false ; if ( isset ( $ laps [ 'min' ] ) ) { $ this -> addUsingAlias ( MxmapTableMap :: COL_LAPS , $ laps [ 'min' ] , Criteria :: GREATER_EQUAL ) ; $ useMinMax = true ; } if ( isset ( $ laps [ 'max' ] ) ) { $ this -> addUsingAlias ( MxmapTableMap :: COL_LAPS , $ laps [ 'max' ] , Criteria :: LESS_EQUAL ) ; $ useMinMax = true ; } if ( $ useMinMax ) { return $ this ; } if ( null === $ comparison ) { $ comparison = Criteria :: IN ; } } return $ this -> addUsingAlias ( MxmapTableMap :: COL_LAPS , $ laps , $ comparison ) ; }
Filter the query on the laps column

Example usage:
<code>
$query->filterByLaps(1234); // WHERE laps = 1234
$query->filterByLaps(array(12, 34)); // WHERE laps IN (12, 34)
$query->filterByLaps(array('min' => 12)); // WHERE laps > 12
</code>

@param     mixed $laps The value to use as filter.
Use scalar values for equality.
Use array values for in_array() equivalent.
Use associative array('min' => $minValue, 'max' => $maxValue) for intervals.
@param     string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

@return $this|ChildMxmapQuery The current query, for fluid interface
Filter the query on the laps column