public function filterByEnvironment($environment = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($environment)) {
                $comparison = Criteria::IN;
            }
        }

        return $this->addUsingAlias(MapTableMap::COL_ENVIRONMENT, $environment, $comparison);
    }
public function filterByEnvironment($environment = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($environment)) {
                $comparison = Criteria::IN;
            }
        }

        return $this->addUsingAlias(MapTableMap::COL_ENVIRONMENT, $environment, $comparison);
    }
public function filterByEnvironment ( $ environment = null , $ comparison = null ) { if ( null === $ comparison ) { if ( is_array ( $ environment ) ) { $ comparison = Criteria :: IN ; } } return $ this -> addUsingAlias ( MapTableMap :: COL_ENVIRONMENT , $ environment , $ comparison ) ; }
Filter the query on the environment column

Example usage:
<code>
$query->filterByEnvironment('fooValue');   // WHERE environment = 'fooValue'
$query->filterByEnvironment('%fooValue%', Criteria::LIKE); // WHERE environment LIKE '%fooValue%'
</code>

@param     string $environment The value to use as filter.
@param     string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

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